can't connect to mysql

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I finally got php5 compiled with mysql but now I can't connect using
mysql_connect without getting the error of:

Warning: mysql_connect() [function.mysql-connect]: Can't connect to
local MySQL server through socket '/tmp/mysql.sock' (2) in...

I can ssh into the box and log in to mysql so I think it's running. 
Plus if I try to run mysqld, I get this error:

ning] Asked for 196608 thread stack, but got 126976
050912 19:57:04 [ERROR] Can't start server: Bind on TCP/IP port:
Address already in use
050912 19:57:04 [ERROR] Do you already have another mysqld server
running on port: 3306 ?
050912 19:57:04 [ERROR] Aborting

050912 19:57:04 [Note] mysqld: Shutdown complete

What could be wrong??

Thanks!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux