Welcome to WebmasterWorld Guest from 54.161.110.186

Forum Moderators: bakedjake

Message Too Old, No Replies

MYSQL sock error

Cannot connect to mysql

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

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



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)

WebmasterWorld Senior Member 10+ Year Member



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)

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



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)

WebmasterWorld Senior Member 10+ Year Member



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

 

Featured Threads

Hot Threads This Week

Hot Threads This Month