Operating Systems > Linux and UNIX

PHP/MySQL problems

<< < (2/4) > >>

Maniaman:
This is the first script that I've used with MySQL...

I'm a n00b when it comes to stuff like this so what's a connection test? If it's a script that just tries to connect to MySQL, then no. That doesn't work

KernelPanic:
Try this one:



--- Code: ---
--- End code ---

delete the (REMOVEME)

KernelPanic:
Also, is mysql actually running?

can you do
$ mysqladmin ping
for me?

voidmain:
The thing that leads me to believe he doesn't have all the necessary RPMs installed is it says mysql_connect() is an undefined function. That should be part of php-mysql. I would think he would get a different error if it recognized the function but was improperly used.

KernelPanic:

quote:Originally posted by void main:
The thing that leads me to believe he doesn't have all the necessary RPMs installed is it says mysql_connect() is an undefined function. That should be part of php-mysql. I would think he would get a different error if it recognized the function but was improperly used.
--- End quote ---


Hmm, good point.
Maniaman I would install Mandrake98.0 and take a look at this for you, but my mandrake 9 CD's don't work so I said fsck it...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version