second try - Mysql php install
| From: | Daniel Guerrier | Date: | Tue, 03 Jul 2001 02:38:10 +0000 |
| Subject: | second try - Mysql php install | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-55923@lists.php.net to get a copy of this message | ||
I'm trying to make php work with mysql but I can't
even create a table. I'm receiving this error.
[root@menace mysql]# mysqladmin create testdb
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server though
socket '/var/lib/mysql/mysq.sock' (2)'
Check that mysqld is running and that the socket
:'/var/lib/mysql/mysq.sock' exists
I started mysqld - ps -ef shows that the process is
not running
The only thing I see that is wrong is that mysql.sock
is missing, but I assumed the install or starting the
process would create it. It didn't.
Shouldn't this file be created by the install
And when I use prefix=/software/mysql a mysqld file is
placed under /usr/local/bin as well. Am I doing
something wrong???
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/