1. 查看mysql用户 select User,Host,authentication_string from mysql.user; + + + + | User | Host | authentication_string | + + + + | root | localhost | | | ...
分类:
数据库 时间:
2020-07-18 11:31:53
阅读次数:
86
环境:CentOS7版本:postgresql11安装repo源yuminstallhttps://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm2.安装client、serveryuminstallpostgresql11yuminstallpostgres
分类:
数据库 时间:
2020-07-17 16:27:16
阅读次数:
121
备份: 在cmd命令行中,执行sqlplus,用管理员账号登录 建立目录对象: create directory expdir as ‘D:\expdir’; 赋予要备份数据的用户导出权限: grant exp_full_database to username(你要备份的用户名); 另打开一个cm ...
分类:
数据库 时间:
2020-07-17 16:03:09
阅读次数:
80
public static JSONObject getToken(String appId,String appSecret){ String url="https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&app ...
分类:
微信 时间:
2020-07-17 14:05:12
阅读次数:
111
在mysql.ini里面把skip-grant-tables这个注释掉,添加这行event_scheduler=ON,保存重启服务器就可以 了 skip-grant-tables作用是跳过验证,有了这个其实你可以把之前的忘记的密码修改掉。 定时器无法开启时需要吧这行注释掉。 ...
分类:
其他好文 时间:
2020-07-15 22:58:39
阅读次数:
50
Ubuntu下忘记MySql密码解决方案 在终端输入 sudo vim /etc/mysql/mysql.conf.d/mysqld.cnf 在文件内搜索找到skip-external-locking,在其下面添加一行: skip-grant-tables 重启mysql sudo service ...
分类:
数据库 时间:
2020-07-14 17:59:08
阅读次数:
79
(1) INTRODUCTION We start our study of "World History" with the earliest human migration, almost 2 million years ago! Studies show that Africa is the ...
分类:
其他好文 时间:
2020-07-11 09:45:45
阅读次数:
46
误删下所有的用户 # 删除一个用户(::1 是本机 ipv6 地址) mysql> drop user root@'::1'; Query OK, 0 rows affected (0.00 sec) # 删除所有用户 mysql> delete from mysql.user where 1=1; ...
分类:
数据库 时间:
2020-07-10 13:25:46
阅读次数:
69
1、使用mysqld_safe命令 systemctl stop mariadb # 停止mariadb数据库 mysqld_safe --skip-grant-table & # 进入单机模式 mysql -uroot # 回车,进入数据库 use mysql; # 进入mysql库 update ...
分类:
数据库 时间:
2020-07-06 19:55:28
阅读次数:
67
OpenStack Train版-2.安装keystone身份认证服务 1. 创建keystone数据库并授权 mysql -u root -proot CREATE DATABASE keystone; GRANT ALL PRIVILEGES ON keystone.* TO 'keystone ...
分类:
其他好文 时间:
2020-07-05 00:24:04
阅读次数:
80