How to quickly import database sql by centos system using commands
First upload the xxx.sql file you need to import to the/www/anywhere directory or root directory
Just remember where you uploaded it, and then turn on the SSH command.
inputmysql -u database username-p

mysql -u honmau -p
honmau is his own database name
And enter the password used when the database was created (after copying the password, right-click directly and you will not see any password)
Then just enter the car directly.source /www/xxx.sql
x.sql is the file you uploaded to/www/at that time.
Just wait for the import to be performed.
© Website copyright and disclaimer
1.[honmau Media] independently owns the copyright of all materials on relevant pages of this website;
2. No one is allowed to copy it without the express written permission of [honmau Media];
3. The articles that do not indicate "honmau Media" on this website are all from the Internet and are only for everyone to learn and refer;
4. If there is any infringement/violation/irregularity, please contact customer service QQ or email to delete it, please understand;
5.[honmau Media] reserves the right to correct, modify and update this statement at any time.legal notice