Re: Problem after migration of script from Fedora Core to RHEL
| From: | Chris | Date: | Mon, 22 May 2006 01:04:39 +0000 |
| Subject: | Re: Problem after migration of script from Fedora Core to RHEL | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-236595@lists.php.net to get a copy of this message | ||
Chris wrote:
benmoreassynt wrote: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/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).