phpmyadmin里面导入sql语句格式的大量数据的方法_PHP

WBOY
Release: 2016-06-01 12:18:33
Original
1103 people have browsed it

phpmyadmin

sql.php文件的内容如下:
复制代码 代码如下:

system("mysql -uroot -pmypassword database print "sql ok";
?>

其中root表示数据库用户名,mypassword表示root的密码,database表示要导入的数据库的名字,a.sql表示数据库文件的文件名
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template