Mac Navicat远程连接群晖MariaDB 10
Mac Navicat远程连接群晖MariaDB 10
使用工具
- Navicat Premium 15.0.30
- FinalShell 3.9.2.2
Navicat Premium连接错误如下表:
序号 | 问题描述 | 备注 |
---|---|---|
1 | 2013 - Lost connection to MySQL server at ‘reading initial communication packet’, system error: 0 “Internal error/check (Not system error)” | |
2013 -在“读取初始通信数据包”时与MySQL服务器失去连接,系统错误:0“内部错误/检查(不是系统错误)” | ||
2 | 2013 - Lost connection to MySQL server at ‘waiting for initial communication packet’, system error: 60 “Operation timed out” | |
2013 -在“等待初始通信数据包”时与MySQL服务器失去连接,系统错误:60“操作超时” | ||
3 | Failed to save password Error code: -34018 | |
无法保存密码错误 代码:-34018 | ||
Navicat for mac tnt发布的破解版本不完美,存在数据库密码无法保存的问题,如果选择保存密码,连接的时候会提示“failed to save password error code -34018”。 |
登录群辉 SSH | 连接成功 | ||
---|---|---|---|
1 | cxloge@DS218plus:~$ ls | ||
BaiduNetdisk base-notebook Download Drive @eaDir honornote10 Huawei music Nutstore #recycle XiaoMiLuYouQi XiaoMi-usb0 待处理文件 | |||
2 | 执行命令查看MariaDB 安装位置 | cxloge@DS218plus:~$ ps -ef | grep mysql | |
获取路径/usr/local/mariadb10/bin/
|
cxloge 10442 24267 0 00:46 pts/21 00:00:00 grep --color=auto mysql root 28126 1 0 Sep04 ? 00:00:00 /bin/sh /usr/local/mariadb10/bin/mysqld_safe --datadir=/var/packages/MariaDB10/target/mysql --pid-file=/run/mysqld/mysqld10.pid mysql 28282 28126 0 Sep04 ? 00:00:02 /usr/local/mariadb10/bin/mysqld --basedir=/usr/local/mariadb10 --datadir=/var/packages/MariaDB10/target/mysql --plugin-dir=/usr/local/mariadb10/lib/mysql/plugin --user=mysql --log-error=/var/packages/MariaDB10/target/mysql/DS218plus.err --pid-file=/run/mysqld/mysqld10.pid --socket=/run/mysqld/mysqld10.sock --port=3307 | ||
3 | 进入mariadb10/bin/目录 | cxloge@DS218plus:~$ cd /usr/local/mariadb10/bin/ | |
4 | 连接MySQL | cxloge@DS218plus:/usr/local/mariadb10/bin$ ./mysql -uroot -p | |
Enter password: ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: YES) | |||
5 | 密码错误,再次连接MySQL | cxloge@DS218plus:/usr/local/mariadb10/bin$ ./mysql -uroot -p | |
Enter password: Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 223 Server version: 10.3.24-MariaDB Source distribution Copyright © 2000, 2018, Oracle, MariaDB Corporation Ab and others. Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement. | |||
6 | 修改数据库 | MariaDB [(none)]> use mysql | |
Database changed | |||
7 | 更新数据 | MariaDB [mysql]> update user set host = ‘%’ where user = ‘root’; | |
ERROR 1062 (23000): Duplicate entry ‘%-root’ for key ‘PRIMARY’ | |||
8 | root’@'192.168.XX.XX --root用户与数据库主机IP | MariaDB [mysql]> grant all privileges on . to ‘root’@‘192.168.XX.XX’ identified by ‘root’ with grant option; | |
ERROR 1819 (HY000):您的密码不满足当前策略要求:[最小密码长度 10,包括大小写混合,包括数字字符,包括特殊字符,从密码中排除用户名] | ERROR 1819 (HY000): Your password does not satisfy the current policy requirements: [Minimal password length 10, Include mixed case, Include numeric characters, Include special characters, Exclude name of user from password] | ||
9 | MariaDB [mysql]> select host,user from user; | ||
±----------±-----+ | host | user | ±----------±-----+ | % | root | | 127.0.0.1 | root | | ::1 | root | ±----------±-----+ 3 rows in set (0.306 sec) |
|||
10 | 更新root用户密码 | MariaDB [mysql]> set password for root@’%’=password(‘输入root用户密码’); | |
ERROR 1133 (28000): Can’t find any matching row in the user table | |||
11 | 更新root用户密码 | MariaDB [mysql]> set password for root@’%’=password(‘输入root用户密码’); | |
ERROR 1133 (28000): Can’t find any matching row in the user table | |||
12 | 刷新系统权限表 | MariaDB [mysql]> flush privileges; | |
Query OK, 0 rows affected (1.403 sec) | |||
13 | 更新root用户密码 | MariaDB [mysql]> set password for root@’%’=password(‘输入root用户密码’); | |
Query OK, 0 rows affected (0.045 sec) | |||
14 | 刷新系统权限表 | MariaDB [mysql]> flush privileges; | |
Query OK, 0 rows affected (0.000 sec) | |||
15 | MariaDB [mysql]> | ||
连接断开 |
参考链接
群辉 MariaDB 10 远程连接 - ㄡ落叶风行 - 博客园
https://www.cnblogs.com/baily/p/11845446.html
Mac Navicat远程连接群晖MariaDB 10相关推荐
- 使用cpolar远程连接群晖NAS(创建临时链接)
系列文章 使用cpolar远程连接群晖NAS(创建临时链接) 使用cpolar远程连接群晖NAS(升级固定链接1) 使用cpolar远程连接群晖NAS(升级固定链接2) 使用cpolar远程连接群晖N ...
- Navicat使用教程:在Navicat Monitor for MySQL/MariaDB中配置实例
下载Navicat Monitor最新版本 Navicat Monitor是一套安全.简单而且无代理的远程服务器监控工具.它具有强大的功能使你的监控发挥最大效用.受监控的服务器包括 MySQL.Mar ...
- Navicat使用教程:在Navicat Monitor for MySQL/MariaDB中配置实
下载Navicat Monitor最新版本 Navicat Monitor 是一套安全.简单而且无代理的远程服务器监控工具.它具有强大的功能使你的监控发挥最大效用.受监控的服务器包括 MySQL.Ma ...
- mysql虚拟机远程链接_windows下用navicat远程链接虚拟机Linux下MySQL数据库
今天想用navicat远程连接虚拟机中的MySQL数据库,一直连不上,在网上搜索了一下,发现原因是MySQL对远程用户登陆的授权问题.这里说一下我的解决方法.(本人小白) 首先,我用navicat去远 ...
- linux 安装mysql8_MySQL 8.0与MariaDB 10.4,谁更易于填坑补锅?
作者介绍 贺春旸,凡普金科DBA团队负责人,<MySQL管理之道:性能调优.高可用与监控>第一.二版作者,曾任职于中国移动飞信.安卓机锋网.致力于MariaDB.MongoDB等开源技术的 ...
- macbook电脑如何通过ssh连接群晖nas?
大佬们高来高去,作为一名资深的小白,曾几何时我也为此困惑过.电脑如何通过ssh连接群晖nas?为啥一直失败呢?follow me!!! 一,群晖开通ssh 1,打开群晖nas的面板 1)ip:端口,例 ...
- CentOS 7 安装 MariaDB 10.1
CentOS 7 安装 MariaDB 10.1 使用默认的 yum install mariadb-server时,默认安装的是和Mysql相兼容的5.5版本.想安装Mariadb 10.1或以上版 ...
- 解决Win11连接群晖上的L2TP类型无响应的问题
这两天把电脑升级到了Win11系统,果然是MacOS的孪生兄弟啊,微软看来也不避讳了,略微有点卡,总体还行吧.说回正题,自从Win10开始,使用系统自带的VPN功能连接群晖的L2TP类型的VPN就一直 ...
- 内网穿透远程群晖NAS:使用自定义域名 3/5
系列文章 群晖NAS安装cpolar内网穿透套件(群晖6.X版) 内网穿透远程群晖NAS:使用随机临时地址 1/5 内网穿透远程群晖NAS:使用固定二级子域名 2/5 内网穿透远程群晖NAS:使用 ...
最新文章
- kafka集群为什么需要三个节点_每天处理千亿级日志量,Kafka是如何做到的?
- 3 个可以使你的 Python 代码更优雅、可读、直观和易于维护的工具
- Ansible 入门指南 - ansible-playbook 命令
- 2015年计算机初中,2015北京小升初电脑派位解读
- 【渝粤题库】陕西师范大学400006 公共关系学 作业(专升本)
- python新建文件夹口令_python编程快速上手—口令保管箱
- js实际工作中的技能点
- 【leecode】小练习(简单8题)
- 【UOJ78】二分图最大匹配
- SAP 以工序为基准进行发料 机加工行业 Goods Issue to Routing
- [bzoj1066] [SCOI2007]蜥蜴
- homebrew osx下面最优秀的包管理工具
- 关于Redis的概念
- 二叉树的前中后序遍历
- 锦鱼课堂:跪着赚快钱,一年20W你愿意吗?
- 2019儿童节前一天考试感想
- Apple ID到期续费问题及验证手机(开启双重认证)
- 去哪儿网数据同步平台技术演进与实践
- c c++ 画点 画线
- 深度学习初学者必须知道的25个专业名词