close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Errors on Conversion MSAccess to MYSQL

Thread began 5/29/2011 9:11 am by MJMurphy | Last modified 5/30/2011 5:01 pm by MJMurphy | 1410 views | 4 replies |

MJMurphy

Errors on Conversion MSAccess to MYSQL

I have several domains built some years ago using MSAccess and ColdFusion that worked just fine.

I am converting all the databases to MYSQL but am getting SQL syntax errors with the code generated by DataAssist.

I tried to reopen the the DataAssist wizard and re-set the code but found no where to designate the type of database and the SQL errors persist.

How can I set the WebAssist code to deal with MYSQL syntax rather than MSAccess?

Sign in to reply to this post

CraigRBeta Tester

One of the problems with MSAccess is that the SQL it creates sometimes isn't recognised as a valid SQL statement, either in MySQL (or MSSQL).

Have you tried pasting the sql from access directly into phpmyadmin ? you will probably find it doesn't work

Sign in to reply to this post

MJMurphy

Converting MS Access to MYSQL

I've had no problems with the conversion for code I have written myself - it usually does work well to copy and paste the MSAccess SQL code - but in a number of instances, the code has been generated by the webassist dreamweaver extensions.

I was hoping I wouldn't have to go back and manually recode everything - I thought maybe there was a setting in the extension to notify the webassist code generator that I was dealing with MYSQL instead of MSAccess.

Note that all my code is written for COLDFUSION and not PHP

Sign in to reply to this post

CraigRBeta Tester

Can you provide an example ?

Sign in to reply to this post

MJMurphy

MySQL Error

This post has been deleted.

MJMurphy

MySQL Error

I solved the problem - the date format was still set to an MSAccess Date. I changed the format to just date - then I had to go to the MySQL database and change the data type from datetime to just date. Then I had to change the input format on the date field to yyyy-dd-mm

Tried again and it worked okay!

Thanks for your encouragement!

Marlene

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...