Restore MySQL DB with CI? |
[eluser]thebigpj[/eluser]
Repopulate is just a fancy way of saying 'Delete everything that is in the database', then 'add what you need to back to the database'. You need to look up SQL queries. www.w3schools.com/sql is a good place to start.
[eluser]Horvat[/eluser]
go to terminal, mysqladmin -u root -p drop thebigpj mysqladmin -u root -p create thebigpj mysql -u `username` -p `password` thebigpj < thebigpj.sql NOTICE: press enter after every line, you're wellcome
[eluser]thebigpj[/eluser]
I was destroyed. I was created. I was replaced. --- I was useful. I am curious if you knew all this, why did you ask? |
Welcome Guest, Not a member yet? Register Sign In |