public void readDataBase() throws Exception { // This will load the MySQLdriver, each DB has its own driver // Setupthe connection with the DB
connect = Dri
因此,我正在寻找如何从MySQL命令行直接导入文件。使用<会给出一般的MySQL语法错误,而使用source会给出一个稍微有希望的failed to open file 'file_name.sql', error: 2,所以我倾向于认为源命令是在正确的轨道上我已经尝试将文件放在xampp\mysql\bin和xampp\mysql\data\database_name中。任何关于如何从MySQL命令行或任何其他方式将此.sq