If you installed Apache and PHP via RPM, you can install the php-mysql rpm, which you can get here....

http://www.redhat.com/swr/i386/php-mysql-4.2.2-8.0.7.i386_dl.html

to install it, just use the rpm command....

rpm -ivh php-mysql-xxx.rpm

If you installed from source, you're going to have to recompile php and add --with-mysql to your configure line.

Jody Cleveland wrote:
You could just copy over the directories (databases), and that should work. However, to avoid possible conflicts between your old MySQL and you new MySQL (there shouldn't be any, but....)

I tried just copying them over, but that didn't seem to work.


you should do a dump from your old db, and import that into your new db.
Something like
phpMyAdmin would make this task easy if you're unfamiliar with command line MySQL.

http://www.phpmyadmin.net/

I tried installing this, but got this error when trying to run it:
cannot load MySQL extension,
please check PHP Configuration.

In checking their documentation, they say this:
 Usually, the problem is solved by installing a software package called
"PHP-MySQL" or something similar.

How would I do this? Should that have been installed when I setup redhat
with php and mysql?

Jody






--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to