MySQL5.0
我是全栈架构师
高级架构师
展开
-
Table ‘mysql.user‘ doesn‘t exist解决办法
2021-04-21T04:35:43.060338Z 0 [ERROR] Fatal error: Can’t open and lock privilegetables: Table ‘mysql.user’ doesn’t exist2021-04-21T04:35:43.061239Z 0 [ERROR] Fatal error: Failed to initialize ACL/grant/time zones structures or failed to remove temporary原创 2021-04-21 12:46:30 · 9126 阅读 · 2 评论 -
MySQL表不存在
在/etc/my.cnf文件中加入一行:lower_case_table_names=1 注意,一定要写在中间[root@localhost ~]# vi /etc/my.cnf[mysqld]datadir=/var/lib/mysqlsocket=/var/lib/mysql/mysql.sockuser=mysql# Disabling symbo翻译 2015-02-03 09:34:21 · 573 阅读 · 0 评论 -
MySQL授权
#授权db_1库只能用远程ip192.168.3.253的test用户访问grant all privileges on db_1.* to test@'192.168.3.253' identified by '123456';flush privileges;原创 2016-08-22 18:13:33 · 246 阅读 · 0 评论 -
MySQL加密解密
select sha(123456);select sha1(123456);select sha2(123456,3);select md5(123456);select aes_encrypt('columnName', 'myKey');select aes_decrypt(aes_encrypt('columnName', 'myKey'),'myKey');SELECT ENCOD原创 2017-09-11 14:54:49 · 420 阅读 · 0 评论