On February 6, 2003 03:15 pm, Jody Cleveland wrote:

<snip>

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

<snip>

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

<snip>

please don't make your life so hard.  i used to do the whole copy the db files 
thing until i discovered "mysqldump".  it's a utility that comes with your 
mysql installation.

  $ man mysqldump

here's a bit to get you started.  it's supposed to be all one line:

  $ mysqldump -hOLDSERVERNAME -uUSERNAME -pPASSWORD DB_NAME > DBNAME.sql

this will copy your entire database to a single file on your machine.  then 
run the following to put the database on a new server:

  $mysql -hNEWSERVERNAME -uUSERNAME -pPASSWORD DB_NAME < DBNAME.sql

i might be off a bit, so check the man page on mysqldump, but the above should 
do the trick.

-- 
do we have to pick sides in the end?
        - ali hossaini, writer
          in reaction to growing racial unrest in the United states since 2001/09/11



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

Reply via email to