Welcome to WebmasterWorld Guest from 54.90.237.148

Forum Moderators: bakedjake

Message Too Old, No Replies

MYSQL sock error

Cannot connect to mysql

     
10:03 am on Feb 1, 2003 (gmt 0)

Moderator from GB 

WebmasterWorld Administrator mack is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:June 15, 2001
posts:7718
votes: 43


I recently installed php, mysql and phpmyadmin on my linux box. The install was carried out from the suse cd rom using the yast2 utility. when I access phpmyadmuin it says
"cannot conect to mysql /var/lib/mysql/mysql.sock (111)

Any ideas. I have tried altering the permitions of the mysql folers and the "sock" file.

10:22 am on Feb 1, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:July 22, 2002
posts:1782
votes: 0


Did you check out A.2.3 Can't connect to [local] MySQL server Error [mysql.com]?

The most important thing to check: Is there a mysqld process running? This got me several times already ;).

Andreas

8:19 pm on Feb 1, 2003 (gmt 0)

Moderator from GB 

WebmasterWorld Administrator mack is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:June 15, 2001
posts:7718
votes: 43


Yep tried that...still the same issue :(

When I made the install from cd rom it did not ask me to create a user or password? is this normal?

8:45 pm on Feb 1, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:July 22, 2002
posts:1782
votes: 0


Usually the installation script will create those for you.

Use

ps -A u ¦ grep mysqld
to see as which user mysqld was started and the effective uid and gid.

Andreas

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members