RE: [PHP] second try - Mysql php install
| From: | scott [gts] | Date: | Tue, 03 Jul 2001 15:49:13 +0000 |
| Subject: | RE: [PHP] second try - Mysql php install | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55997@lists.php.net to get a copy of this message | ||
try using "safe_mysqld &"
if 'mysqld' is not in your 'ps' list, then the
daemon is not running, and you cannot connect to it.
(check the mysql error logs for possible reasons)
> -----Original Message-----
> From: Daniel Guerrier [mailto:dan_guerrier@yahoo.com]
> Sent: Monday, July 02, 2001 10:38 PM
> To: php-general@lists.php.net
> Subject: [PHP] second try - Mysql php install
>
>
>
> 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/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>