mysql:
64位客戶端下載地址:https://pan.baidu.com/s/1bYd1YQ
啟動mysql安裝,(cmd)用戶名mysql80 密碼:123456
安裝SQLyog(官網地址)或者裝客戶端 名稱隨意,注冊碼:ccbfc13e-c31d-42ce-8939-3c7e63ed5417
鏈接時出錯啦!!!!!
*******************************************************************************
查看數據庫mysql中的user表中用戶信息
(1)連接mysql
Mysql –u 用戶名 –p
Password:輸入密碼
(2)轉換數據庫
Use mysql
(3)查看user表中的用戶信息
Select host,user,password from User
(4) 查看后如果沒有符合權限的用戶,創建一個具有權限的用戶
grant select on 數據庫.* to 用戶名@登錄主機 identified by "密碼"
grant all on *.* to 'root'@'localhost' identified by '123456';
(5)更改host,使得不用限定ip也可以遠程訪問mysql
update user set host = '%' where user ='用戶名'
(6)嘗試連接數據庫’
*******************************************************************************
okLA!!!!