解決MySQL訪問權限設置的方法:首先進入mysql執(zhí)行目錄下輸入【mysqld-shareware.exe】,再輸入【mysql –user=root mysql】;然后進入到【mysql‘’gt】,通過提示符下進行操作。