ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Problem when moving from MySql 4 to MySql 5

October 23, 2008 7:07am

Subscribe [2]
  • #1 / Oct 23, 2008 7:07am

    Mikeey

    3 posts

    This question may be related to a resolved thread.

    Hello I am having this problem in the latest version off EE 1.6.4 and MySql 5.0.67-community-nt

    I copied the mysql data folder from my previous mysql 4 data dir to the new mysql 5 data dir.


    MySQL ERROR:

    Error Number: 1366

    Description: Incorrect integer value: ‘’ for column ‘id’ at row 1

    Query: INSERT INTO `exp_cp_log` (`id`, `member_id`, `username`, `ip_address`, `act_date`, `action`, `site_id`) VALUES (’‘, ‘1’, ‘admin’, ‘192.168.255.63’, ‘1224749004’, ‘Logged out’, ‘1’)

  • #2 / Oct 23, 2008 10:23am

    Robin Sowell

    13255 posts

    I suspect the new server is running in strict mode, which EE isn’t compatible with.  See if you can turn strict mode off and see if that does the trick.

  • #3 / Oct 24, 2008 3:34am

    Mikeey

    3 posts

    Thanks! It worked out fine with SET sql_mode = “”;

  • #4 / Oct 24, 2008 3:43am

    Ingmar

    29245 posts

    Glad to see Robin squared you away there. Please don’t hesitate to post again, as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases