Post4VPS Forum | Free VPS Provider
mysql-server and phpmyadmin problem - Printable Version

+- Post4VPS Forum | Free VPS Provider (https://post4vps.com)
+-- Forum: Geek World (https://post4vps.com/Forum-Geek-World)
+--- Forum: Scripting & Programming (https://post4vps.com/Forum-Scripting-Programming)
+--- Thread: mysql-server and phpmyadmin problem (/Thread-mysql-server-and-phpmyadmin-problem)

Pages: 1 2


RE: mysql-server and phpmyadmin problem - Rehan - 03-12-2019

(03-12-2019, 12:04 PM)Hidden Refuge Wrote: That is certainly possible.

1. Backup the database on your Windows server into the .sql format (you can also compress it if you like).

2. Transfer the .sql file to your Linux server (extract it if you compressed it).

3. Start the MySQL command line and login as root:
Code:
mysql -u root -p

4. Create a empty database where you want to import the backup into:
Code:
CREATE DATABASE databasenamehere;
(Replace "databasenamehere" with your desired database name.)

5. Exit the MySQL command line with a simple "exit" command.

6. Import the database backup into the new empty database:
Code:
mysql -u root -p databasenamehere < databasebackupfile.sql
(Again remember to adjust database name and the database backup file name.)

7. Wait until the import is complete.


That's it actually. Works on MySQL and MariaDB.

A lot of thanks dude problem has been solved ( via terminal import ).Also i just ignored that error in phpmyadmin and that is working now.  Wink


RE: mysql-server and phpmyadmin problem - Mashiro - 03-12-2019

Well, I'm glad that you finally found something that works out for you. On the other hand, ignoring a issues is not a solution to the issue Smile.