Jump to content

Recommended Posts

Posted

I have read that 50 hundred times and don't understand it.

"you may use the mysql_import script to load the individual data tables into your databases." Yeah load the script where cuz its not a sql script.

Posted

Probably a misunderstanding here. SQL is not a script language, and as you may have noticed, SQL files usually are not executed but imported via command line tools or using graphical tools.

The provided mysql_... scripts are to be used on the command line, and require a Bash shell with mysql command line client available.

You can read the mysql_import file, it is a Bash script, and it is also marked as such at the top of the file. If you're on Windows, you can not use these, but will have to import the SQL files one by one. Of course, you could write your own batch import script as equivalent to the Bash script but I can not provide any help there as I do not have any Windows system available (only Mac and Linux).

  • 1 month later...
  • 2 months later...
Posted
On Windows you can execute this script from git bash, that comes with Git Version Control System.

How did you manage to do that? When I try that it keeps saying that "THE DATABASE DOES NOT EXIST AND I FAILED TO CREATE IT, ABORTING".. :/

Thank you.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use