where root represents the database user name, mypassword represents the password of root, database represents the name of the database to be imported, and a.sql represents the file name of the database file."/> where root represents the database user name, mypassword represents the password of root, database represents the name of the database to be imported, and a.sql represents the file name of the database file.">
Home > Article > Backend Development > phpmyadmin configuration How to import large amounts of data in sql statement format in phpmyadmin
The content of the sql.php file is as follows:
Copy the code The code is as follows:
system("mysql -uroot -pmypassword database < a.sql");
print "sql ok";
?>
The above introduces the method of configuring phpmyadmin to import a large amount of data in sql statement format in phpmyadmin, including the configuration of phpmyadmin. I hope it will be helpful to friends who are interested in PHP tutorials.