LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   phpadmin mysql error (https://www.linuxquestions.org/questions/mandriva-30/phpadmin-mysql-error-293527/)

mhaskell 02-22-2005 03:18 PM

phpadmin mysql error
 
Hello,
I'm running mandrake 10.1. mysql and php installed. Not sure if mysql is starting at startup. When I do phpinfo this is what i get...

Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off

not sure how to troubleshoot this problem.

caladbolg 02-22-2005 06:49 PM

Try re-installing MySQL. Also make sure you have the mysql module for php.

bunnadik 02-23-2005 01:32 AM

Try _starting_ mysql to begin with (before reinstalling). Run 'service mysql start' as root.
Then s 'ps ax | grep mysql' shows if it started.

And you have the mysql module for php since phpinfo showed mysql info.

- Peder

mhaskell 02-23-2005 01:26 PM

after type ps ax | grep mysql 12 lines printed ex.

2393 ? s 0:00 /bin/sh /usr/bin/mysql_safe --datadir=/var/lib/mysql --pid_file=/var/lib/mysql/localhost.pid

the other lines have slightly different. Would this be what you would expect to see?
Mike

bunnadik 02-24-2005 01:13 AM

Yupp, your mysql is up and running. To make sure it's started on next reboot enter ' chkconfig mysql on'

- Peder

mhaskell 02-24-2005 09:58 AM

Thanks for the reply. I got no response by entering the command, but I expect that mysql is still working.

What i get when trying to access phpMyAdmin is:

An error occurred while loading
http://127.0.0.1/phpmyadmin/main.php...59-1&server=1:
Timeout on server 127.0.0.1

and

An error occurred while loading
http://127.0.0.1/phpmyadmin/left.php...fef018a328f1a8
Timeout on server 127.0.0.1

mhaskell 02-24-2005 08:40 PM

It appears to be working now. Thanks to all for your help!
Mike


All times are GMT -5. The time now is 02:55 AM.