gerrit数据库使用mysql

进入gerrit数据库

mysql -ugerrit -p -h127.0.0.1 -P3307

密码为用户名加pass  

mysql> select * from ACCOUNT_EXTERNAL_IDS;
ERROR 1046 (3D000): No database selected
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| gerritdb |
+--------------------+

insert into ACCOUNT_EXTERNAL_IDS values(1, '[email protected]', 'NULL', 'mailto:[email protected]');

insert into ACCOUNT_EXTERNAL_IDS values(3, '[email protected]', 'NULL', 'mailto:[email protected]');

insert into ACCOUNT_EXTERNAL_IDS values(5, '[email protected]', 'NULL', 'mailto:[email protected]');

05-11 13:24