Operating Systems > Linux and UNIX
PHP/MySQL problems
KernelPanic:
I'm stumped but i'm sure void main has the master plan in his back pocket... :D
voidmain:
1) It looks like you have upgraded MySQL above what came on the CDs. Also I am not sure if it is necessary but you do not have "MySQL-client" installed. You will definitely need it to do command line work with MySQL. Get the MySQL-client RPM of the same version of your MySQL server, wherever you got that from.
2) Have you checked your /etc/php.ini file and make sure MySQL is enabled?
3) Is your MySQL server configured and running? Did you try the ping command that Tux asked you about earlier?
[ December 20, 2002: Message edited by: void main ]
Maniaman:
I installed the same MySQL that came on the CD's. I also installed all the MySQL packages on the CD. It's enabled in the php.ini file. Still no luck :(
voidmain:
You need to give us more help, did you try the ping command that Tux referred to earlier? Is the MySQL service actually running? Can you connect to it with:
$ mysql
or
$ mysql -u root
or
$ mysql -u root -p
if you set up a root MySQL user with a password. If you don't know what any of these commands do you need to first go through a MySQL tutorial and make sure you have MySQL up and running and configured properly. Then go back to getting php-mysql working.
If none of this works I would have to suggest installing Red Hat 8.0. It works out of the box and I would be in a much better position to help you out.
Heywood:
I agree with the above, you should test out your mySQL install first. Just running the RPMs won't do it on a lot of systems, you have do some configuring. Luckily mysql.com is packed with documentation. It never fails.
Honestly, I have had a lot of problems with the RPM installs, and usually go the tarball route. Seems to work better for me.
Navigation
[0] Message Index
[*] Previous page
Go to full version