MySQL code generation

73 views
Skip to first unread message

alexander.gra...@student.unisg.ch

unread,
Sep 11, 2010, 9:24:36 AM9/11/10
to risee...@googlegroups.com
Hello,

I just started working with RISE. I have now created a model which I want to export as MySQL-code. The code should be used either with phpmyadmin or the MySQL workbench.

However, when I try to run the code produced by the MYSQL-generator I always encounter errors like (even when I call the code with the MySQL-command line toolö):

-Error 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near GO....

I think this problem is somehow revolving around the DELIMITER statement in the first lines. Does anybody have an idea of how to transfer the code generated by RISE into a compliant version?

Thank you!

HOlsen

unread,
Sep 13, 2010, 12:53:35 PM9/13/10
to RISE
The script consists of multiple statements that must be executed on
the same database connection. The script is intended to be used with
the MySQL Command-Line tool which implements the DELIMITER concept and
executes the statements on the same connection. RISE also implements
the delimiter concept and executes the statements on the same
connection. This means that you can enter the connection string to
your database in the code generator form in RISE and click the Update
Database button to update your database.

Best regards,
RISE to Bloome Software

rnrstar

unread,
Sep 15, 2010, 3:37:17 PM9/15/10
to RISE
I found that the easiest way for me to do this was to use the mysql
client. To start the mysql client I used...

mysql -u username -p databaseName

Once at the mysql prompt I would enter the following...

\. sql_file_created_by_rise

Make sure the file is in the same folder that you are running mysql
from and you won't have any path issues.

Todd

gyd...@gmail.com

unread,
Aug 10, 2012, 4:02:06 PM8/10/12
to risee...@googlegroups.com, to...@zone0ne.com
Didn't work for me. :( .. rise generator can upload to localhost client such: xampp or wamp??

Hender Ruiz

unread,
Apr 24, 2014, 3:53:25 PM4/24/14
to risee...@googlegroups.com, alexander.gra...@student.unisg.ch
just need refactor all de quotes ("), the script is not utf8, so just find and replace
Reply all
Reply to author
Forward
0 new messages