如何使用查询重命名MySQL数据库名称?
我rename通过phpmyadmin 尝试了数据库,并收到以下错误,
SQL query:
RENAME DATABASE test TO test_bkp
MySQL said:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DATABASE test To test_bkp' at line 1
Run Code Online (Sandbox Code Playgroud) 我的错误日志文件中出现错误"配置中未指定AuthUserFile".如何解决它.这是我的.htaccess文件,它位于亚马逊文件服务器中.
## mod auth_mysql
AuthBasicAuthoritative Off
AuthMYSQL on
AuthMySQL_Authoritative on
AuthMySQL_DB dbname
Auth_MySQL_Host localhost
Auth_MySQL_User username
Auth_MySQL_Password password
AuthMySQL_Password_Table tbl_name
AuthMySQL_Username_Field user_name
AuthMySQL_Password_Field password
AuthMySQL_Empty_Passwords off
AuthMySQL_Encryption_Types SHA1Sum
# Standard auth stuff
AuthType Basic
AuthName "restricted zone"
Require valid-user
Run Code Online (Sandbox Code Playgroud)