1、如何利用Mysql命令行执行记事本中的SQL语句?
先将记事本扩展名改成.sql,然后在命令行输入SOURCE + 空格+文件路径名。
注意:路径名无需加引号,还有,路径名中的“\”改成“/”。
2、ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: yes
解决方法:
Step 1:C:\Program Files\MySQL\MySQL Server 5.0\bin>mysql -u root -pEnter password: ******
Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 28 to server version: 5.0.24a-community-ntType 'help;' or '\h' for help. Type '\c' to clear the buffer.Step
2:C:\Program Files\MySQL\MySQL Server 5.0\bin>mysqlmysql>status