Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - MySQL error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MySQL error

 Post Reply Post Reply
Author
Pulver View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 22 February 2002
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Pulver Quote  Post ReplyReply Direct Link To This Post Topic: MySQL error
    Posted: 22 January 2006 at 9:25am
I got a MySQL error yesterday - but looking at the error I see that my host uses the 4.0.24 version of MySQL.

So I guess thats the problem...

Posting the error anyway - got this when I was trying to send a PM:

Quote Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[MySQL][ODBC 3.51 Driver][mysqld-4.0.24-standard]Unknown column 'True' in 'where clause'

/forum/pm_new_message.asp, line 191

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 23 January 2006 at 2:26pm
There is a problem with the query on that page when using the mySQL version.

I am working on fixing this for the next beta release which will have much more testing done for the mySQL version.
Back to Top
RAVALON View Drop Down
Groupie
Groupie
Avatar

Joined: 31 December 2003
Location: Italy
Status: Offline
Points: 132
Post Options Post Options   Thanks (0) Thanks(0)   Quote RAVALON Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2006 at 3:00pm
In MySQL could not be used boolean fields as Access....you have to use 1 or 0 value
 
 
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2006 at 3:38pm
The problem was in that page I had omitted the code to check for mySQL, so it was defaulting to 'True' used for the Access version.

VbScript's defaults are:-
True = -1
False = 0

This means that for mySQL used in Web Wiz Forums, because 'True' and 'False' are usualy set in the vbScript and the myODBC driver is often used for ADO Inserts, that Web Wiz Forums mySQL version actualy uses -1 for 'True'


Edited by -boRg- - 13 February 2006 at 3:38pm
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2006 at 3:41pm
I have also been using the mySQL version as the main bases of my development for the next beta version, then testing later in Access and SQL Server.

This means that in beta 2, the mySQL version will be allot more stable as most of the bugs and issues are now fixed.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.