mysql數據庫安裝完配置root密碼

安裝mysql yum install mysql-server 安裝 service mysqld restart 啓動 配置 第一次登陸不需要輸入密碼, # 登陸 mysql -u root # 使用mysql這個表 user mysql; # 查詢一下用戶 select host,user,password from user; 這裏顯示只有一個用戶,主機是local
相關文章
相關標籤/搜索