Re: Problem after migration of script from Fedora Core to RHEL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chris wrote:
benmoreassynt wrote:

Hi,

This has me confused. Have just moved servers from FC4 box to RHEL box.
Basically all the settings seem to be the same. PHP5.0.4, MySQL 5.0.20

....

So it is telling that the script is trying to insert duplicate entries. The
exact same script works fine on the old box without entering duplicate
entries.


It has nothing to do with the script and everything to do with the database.

You might need to reset the auto_increment count (search the archives, there have been lots of examples on how to do this posted - otherwise search http://dev.mysql.com).


Forgot to add.. this is especially true if you have copied data from one server to the other. A database dump should do this for you, if you've done it by hand then you're on your own..

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux