SA-MP Forums Archive
MySQL help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: MySQL help (/showthread.php?tid=377750)



MySQL help - Safe - 15.09.2012

Guys i have a .sql file of my old databases
now the db is lost and i still have that file
i wonder how would i recover it and put it back to xammp?


Re: MySQL help - Roel - 15.09.2012

I found this on ******,
are you talking about a console cmd?
then you should use this:
Код:
mysql -h localhost -u #myusername -p #mypasswd MYBASE
      < c:/user/folderss/myscript.sql
just edit it to your names.


Re: MySQL help - HuSs3n - 15.09.2012

using phpmyadmin
click on import, choose the file ,then click GO


Re: MySQL help - Safe - 15.09.2012

Quote:

using phpmyadmin
click on import, choose the file ,then click GO

where to see on the data base that i have created?