PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   PhotoPost Product FAQs (http://www.photopost.com/forum/photopost-product-faqs/)
-   -   Mysql 5 Compatibility (http://www.photopost.com/forum/photopost-product-faqs/123261-mysql-5-compatibility.html)

Chuck S February 22nd, 2006 07:27 PM

Mysql 5 Compatibility
 
MySQL 5.0 and higher have a strict mode that is currenty incompatible with a number of queries in PhotoPost products. The Windows Installer from MySQL.com enables this strict mode by default.

In Layman's terms MySQL in strict mode can not allow query inserts with null values to be entered.

Workaround

There are several workarounds

1. Replace in my.ini the current sql-mode line with sql-mode="MYSQL40"
2. Start MySQL with the option --sql-mode="MYSQL40"
3. Execute the query SET GLOBAL sql_mode='MYSQL40'

MySQL needs to be restarted before changes in my.ini have an effect. My.ini can be found in the MySQL installation directory or the Windows directory, depending on your configuration.

freefallu April 25th, 2006 09:41 PM

thank you., i was pulling my hair out untill i found this post.

john2k June 6th, 2006 11:57 AM

Does the 3rd option set sql mode to MYSQL40 for ONLY the PhotoPost Pro database? I'm considering a purchase, but would like to be able to keep my other databases in MySQL50 native mode. How soon do you expect PhotoPost to be natively compatible with MySQL 5?

Chuck S June 6th, 2006 01:12 PM

That options above set it to backward compatibility with 4.0 and disable the STRICT MODE which is where the incompatibility is. This sets all databases to use the backwards compatibility. There is no date set to when we are going to support mysql 5.

john2k June 6th, 2006 03:04 PM

Just to make sure I am understanding this correctly, the STRICT MODE forces the database server to only use MySQL50 functionality?

Also, disabling the strict mode and setting backward compatibility to 4.0 - does this allow the database server to operate in MySQL5.0 mode by default but still allow MySQL4.0 compatibility? Would it be 4.0 functionality by default? Would 5.0 functionality be completely removed?

Trying to determine how other scripts and databases will be affected by changing these settings.

Thanks for your help and quick reply.

Chuck S June 6th, 2006 03:06 PM

I dont think your other scripts would be affected in any way at all.

There should be no issues running mysql 4.0 compatibility mode.

Nito October 10th, 2006 12:55 PM

is there problems with running Phoptpost with mysql5? is it easier with mysql?

Chuck S October 10th, 2006 01:40 PM

You can test if you wish we have fixed any issues that have come along so there are no open issues at present


All times are GMT -5. The time now is 07:25 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97