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. |
Try re-installing MySQL. Also make sure you have the mysql module for php.
|
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 |
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 |
Yupp, your mysql is up and running. To make sure it's started on next reboot enter ' chkconfig mysql on'
- Peder |
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 |
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. |