RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Recycle Bin > Recycle Bin

For more information about the ads and why they're here, please see the FAQ
Closed Thread
  #1  
Old 08-17-2006, 03:37 PM
Registered User
 
Join Date: Aug 2006
Posts: 2
Downloads: 0
Uploads: 0
Default Running the SQL Scripts

I installed the 0.1 Beta 2 and everything went fine after I had php setup right to talk to MySQL. There seems to be a bit of a problem getting the latest version MySQL talking to the latest version PHP on windows, but there is help out there to get it setup.

The problem I had with the sql scripts was they didn't set default values in the Sql5 script. In the Sql4 script they did set default values. So when you add a contact you get a MySQL error because you didn't provide values for some of the fields, like organization, because the field was set to NOT NULL. So I modified the Sql5 scripts to have a default value and everything worked.

If the intent of setting the fields to not null and not providing a default value was so the php calls had to pass all the fields to the sql calls, then there is a problem. I can send the lines of php that fail when called because of not null being set on them.

Thanks
Todd

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 08-17-2006, 03:59 PM
Registered User
 
Join Date: Aug 2006
Posts: 2
Downloads: 0
Uploads: 0
Default Re: Running the SQL Scripts

Here is the reason why it didn't work for me:

http://bugs.mysql.com/bug.php?id=14947

With MySQL 5.0.2 and above on windows the default is set to strict mode. So if you have a field set as NOT NULL and don't supply a default clause then it causes the problem I have.

Thanks
Todd
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

For more information about the ads and why they're here, please see the FAQ

All times are GMT. The time now is 03:51 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright © 2006-2008 RoundCube Webmail Community