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.