DEV Community

sadasdkjoiwck
sadasdkjoiwck

Posted on

1

export and import mariadb database

sudo mysql -u root -p

use mysql;

select user, password from user;

show databases;

exit;

sudo mysqldump -u wpadmin -p wordpress > /home/ubuntu/try.sql

head -n 5 try.sql

ll -sha

sudo mysql -u root -p

create database new_database;

exit;

sudo mysql -u root -p new_database < try.sql

sudo mysql -u root -p

show databases;

use new_database;

show tables;

describe wp_users;

select user_login, user_pass, user_email from wp_users;

exit;

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more