This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Create database
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 01, 2013
12:24 AM
Create database
Hello friends,
I have a question,how can we create database using the script?? i tried using "mysql -uroot -proot CREATE DATABASE %abc%" using execute script action,but it fails.Can you please suggest how can i do this??I have mysql installed in my system!
I have a question,how can we create database using the script?? i tried using "mysql -uroot -proot CREATE DATABASE %abc%" using execute script action,but it fails.Can you please suggest how can i do this??I have mysql installed in my system!
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 03, 2013
12:11 AM
Hi Pavan,
Try giving the full path to the 'mysql'.
In Windows eg: C:\\bin\mysql.exe
In Linux eg: /usr/local/mysql/bin/mysql
Or
You can 'cd' to and then run your sql_cmd.
Or
Append the full path of mysql till bin folder in environment variable 'PATH'.
Regards
Utsab Karmakar
Try giving the full path to the 'mysql'.
In Windows eg: C:\
In Linux eg: /usr/local/mysql/bin/mysql
Or
You can 'cd' to
Or
Append the full path of mysql till bin folder in environment variable 'PATH'.
Regards
Utsab Karmakar
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 03, 2013
02:26 AM
Thanks a lot for your reply 🙂
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)