linux下远程连接mysql
作者:高景洋 日期:2021-04-23 10:15:37 浏览次数:5155
如果客户端未安装mysql ,请执行以下命令
yum install mysql -y
远程登陆
1、mysql -h 10.10.10.10 -u 用户名 -p 密码
2、show databases; 列表显示所有数据库,注意一定加 “分号”
3、show tables; 列表显示所有数据表,注意一定加 “分号”
4、select count(1) from tableName1; 注意一定加 “分号”
本文永久性链接:
<a href="http://r4.com.cn/art178.aspx">linux下远程连接mysql</a>
<a href="http://r4.com.cn/art178.aspx">linux下远程连接mysql</a>
相关文章
- mysql查看设置当前最大链接数
- linux centos如何修改mysql root用户密码
- centos 查看修改mysql端口号
- mysql如何修改时区为东八区区时,北京时间
- MySQL错误:ERROR 1175: You are using safe update mode 解决方法
- 连接mysql时提示 is not allowed to connect to this mysql
- linux centos7 mysql 防火墙开放3306端口
- linux centos7安装mysql教程
- 安装mysql报错:repository are already installed but they are not correct for this package.
- mysql错误 IP address 'xxxx' could not be resolved: Name or service not known
当前header:Host: r4.com.cn
X-Host1: r4.com.cn
X-Host2: r4.com.cn
X-Host3: 127.0.0.1:8080
X-Forwarded-For: 3.12.76.168
X-Real-Ip: 3.12.76.168
X-Domain: r4.com.cn
X-Request: GET /art178.aspx HTTP/1.1
X-Request-Uri: /art178.aspx
Connection: close
Accept: */*
User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Accept-Encoding: gzip, br, zstd, deflate