Author Topic: PHP/MySQL problems  (Read 789 times)

KernelPanic

  • VIP
  • Member
  • ***
  • Posts: 1,878
  • Kudos: 222
PHP/MySQL problems
« Reply #15 on: 21 December 2002, 02:37 »
I'm stumped but i'm sure void main has the master plan in his back pocket...  :D
Contains scenes of mild peril.

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
PHP/MySQL problems
« Reply #16 on: 21 December 2002, 02:55 »
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 ]

Someone please remove this account. Thanks...

Maniaman

  • Member
  • **
  • Posts: 188
  • Kudos: 0
PHP/MySQL problems
« Reply #17 on: 21 December 2002, 03:29 »
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  :(
I use my hotmail email on here to keep from begin spammed by trolls. If you want my good email address for something then ask... :)


voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
PHP/MySQL problems
« Reply #18 on: 21 December 2002, 03:39 »
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.
Someone please remove this account. Thanks...

Heywood

  • Member
  • **
  • Posts: 23
  • Kudos: 0
    • http://www.webfootcentral.com
PHP/MySQL problems
« Reply #19 on: 23 December 2002, 21:20 »
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.
::
Webfoot Central
::
Webmaster and Web Developer Forums