我试图在XAMPP环境中将mysql文件导入(由于文件大)到myphpadmin,但出现以下错误。
C:\xampp\mysql\bin>mysql -h localhost -u username test.sql <dump.sql
The system cannot find the file specified.
错误
The system cannot find the file specified.
数据库的名称是test.sql,它已经在xampp / msql / bin文件夹中。
我不知道test.sql数据库的用户名和密码。
我想在两件事上寻求帮助: 1.这是一个预先存在的数据库-如何确定用户名和密码?
对于上述第1点,请注意,我无法执行此操作:How to find out the username and password for mysql database ...因为我尚未将此数据库导入到myphpadmin中。这是22种情况,我需要导入u和p,但是只有导入了u和p才可以得到它!
目标-我想将一个大型mysql文件导入myphpadmin(在xammp环境中)。我已经将init文件更改为> 150。
预先感谢