We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
最近觉得用终端修改centos数据库有点麻烦,所以用本地mysql客户端可视化
进入centos的数据库
mysql -u root -h localhost -p
使用数据库
use mysql;
赋予远程权限
GRANT ALL PRIVILEGES ON . TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;
让权限立即生效
flush privileges;
--解释 其中root表示用户名,%表示所有的电脑都可以连接,也可以设置某个ip地址运行连接,password表示密码
然后在本地的mysql客户端连接
The text was updated successfully, but these errors were encountered:
No branches or pull requests
最近觉得用终端修改centos数据库有点麻烦,所以用本地mysql客户端可视化
进入centos的数据库
使用数据库
赋予远程权限
让权限立即生效
--解释
其中root表示用户名,%表示所有的电脑都可以连接,也可以设置某个ip地址运行连接,password表示密码
然后在本地的mysql客户端连接
The text was updated successfully, but these errors were encountered: