Jump to content
  • 0
Sign in to follow this  
sever

How to do SQL updates?

Question

[SQL]: - detected 1 new SQL updates[SQL]: -- 'sql-files/upgrades/2014-09-01--16-53.sql'[SQL]: To manually skip, type: 'sql update skip <file name>'

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

I'm unaware that command exists on current Hercules. I do personally prefer to do that via console with the awrver shut down:

 

mysql -u user -p rodatabase < file.sql

 

Then you'll be prompted for the user's password

Share this post


Link to post
Share on other sites
  • 0

is this the command?

 

sql update sql-files/upgrades/2014-09-01--16-53.sql

 

i'm very cautious as there is no revert for this.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.