Page 1 of 1
can't connect to mysql
Posted: Tue Aug 20, 2002 4:46 pm
by hounkanrinjp
Hi, I am trying to access mysql server on my MAC OS X server using the mysql client, but i get this error:
can't connect to mysql using /tmp/mysql.sock
can anyone help me please? It's very urgent.
Thank you guys
MySQL
Posted: Wed Aug 21, 2002 2:06 am
by Takuma
Have you set the MySQL password and username? I don't use Mac so I'm not sure though...
Posted: Wed Aug 21, 2002 5:02 am
by hounkanrinjp
In fact, Mac OS X is a Unix-based operating system, which means that it responds to all the commands a normal unix os would respond to and have the same kind of attributes and and basically, runs the same software the same way. So, that is not the problem. And, yeah, I specified a username and password and it didn't work.
So, if you've got any better idea, let me know about it.
Posted: Wed Aug 21, 2002 8:20 am
by enygma
does that file exist? if not check out the mysql.com docs for a solution. I know there's something in there that talks about how to fix that (I've done it before once or twice, but I don't remember how).
Posted: Wed Aug 21, 2002 10:05 am
by llimllib
google the error. I know I was getting the same thing for awhile, and I found the answer on google, but I don't recall it. I believe it was just some configuration setting I had wrong.