• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

How i Can Make Sql backup

Himad

Eight Wonder Of The World
Joined
Oct 30, 2008
Messages
200
Reaction score
0
Location
United arab emarits/Dubai
hello.

Iam moving into new dedicated server so i wonder if it possible
to make sql backup to prevent char reset
iam using mysql

Rep++

Thanks In advance
/HImad
 
Or go to Disk C:/Xampp/mysql/data then look for your database name and copy the whole folder to example: Desktop then you have the whole database.
 
Or go to Disk C:/Xampp/mysql/data then look for your database name and copy the whole folder to example: Desktop then you have the whole database.

NEVER do that, it will not work unless you have the same mysql version, and it can cause damage if you don't.

You need to dump your db and import it on the new computer
 
NEVER do that, it will not work unless you have the same mysql version, and it can cause damage if you don't.

You need to dump your db and import it on the new computer

^ = Correct

Log into your database (http://localhost/phpmyadmin/)
Then click on your database, then check [Save] at the bottom, and save it on your computer.

Then you transfer this file to your new computer, and just import it like you did with the "schema.mysql" when creating the server.
 
Never use phpmyadmin to export your database...

I don't know how it exactly works on Windows but it might be like that:
Code:
mysqldump -u<username> -p<password> database_name > /path/to/filename.sql
of course from the command line
 
Back
Top