can't connect to mysql

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
stefworld
Newbie
Newbie
Posts: 3
Joined: Sun Dec 25, 2011 6:10 am

can't connect to mysql

Post by stefworld »

i've installed mysql and mysqlyog on ubuntu 11.10 with wine 1.3.35, when i try to connect with mysqlyog i get the message "can't connect to mysql server"... i've tried localhost and 127.0.0.1 and firewall = disabled. what can be the reason for this..?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: can't connect to mysql

Post by vitamin »

stefworld wrote:i've installed mysql and mysqlyog on ubuntu 11.10 with wine 1.3.35
Why would you even try such a stupid thing? Use native Linux versions of both!
stefworld
Newbie
Newbie
Posts: 3
Joined: Sun Dec 25, 2011 6:10 am

Post by stefworld »

why? simply, i've created an application in visual studio that is connected with mysql, i've tried to design it in linux with monoidevelop but this sucks, when i have to compile my application i have to wait 10 minutes, in visual studio i have to wait 5 seconds...
Usurp
Level 4
Level 4
Posts: 161
Joined: Sat Apr 19, 2008 7:16 am

Post by Usurp »

stefworld wrote:why? simply, i've created an application in visual studio that is connected with mysql, i've tried to design it in linux with monoidevelop but this sucks, when i have to compile my application i have to wait 10 minutes, in visual studio i have to wait 5 seconds...
use the linux version of mysql, and you can connect to your database using your visual studio program.
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Post by lahmbi5678 »

Hi stefworld,

I don't know anything about mysqlyog, I assume, it is a windows .exe, and not a php script ?

If you need it running right now, you'd probably better use linux mysql. Note that in the past, the windows versions of mysql were known to have a lot of issues with wine, yet the entry in AppDB is really old, not many people were even trying to run it under wine.

It might be a bug in wine, and if it turns out to be one, you should file a bug in the bugzilla. First you should find out, if mysql or mysqlyog is having issues with wine. Did you make sure, that your mysql (windows version) is running fine in wine? Were you able to use the command line tool that comes with mysql to connect to your database? Even under windows things can go wrong, afair there's a really long troubleshooting section in the mysql documentation, you should make sure that you didn't miss anything.
stefworld
Newbie
Newbie
Posts: 3
Joined: Sun Dec 25, 2011 6:10 am

Post by stefworld »

ok i gonna stay using windows, it cost me to much time to get the same results with linux...
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

stefworld wrote:when i have to compile my application i have to wait 10 minutes
Wine compiles in less then that on a ~3 years old PC. Throw away nice and shiny IDEs and use command line tools to compile your applications.
Locked