mySQL question
Mike Volmar
mvolmar at fruitlands.org
Thu Dec 5 14:21:08 EST 2002
Permission problem solved.
I had to
1) create a user at localhost (poorly explained in my php/mysql book; but well
explained in the O'Reilley mysql book)
2) make an identical username in linux
3) then recreate database on the linux box, which I had simply copied to
there; for some reason this made it read only despite changing property
permissions to 777.
Thanks for the help.
Mike
====================
Problem:
Line of code:
$num_results = mysql_num_rows($result);
throws an error on linux but not on windows machine.
error=Warning: Supplied argument is not a valid MySQL result resource
Code runs fine on php-triad in windows but mySQL under redhat 7.3 throws the
error.
More information about the Discuss
mailing list