Navicat for Mysql 使用方法

1.点击链接-MySQL

2.输入数据库相关信息,可以先点链接测试测试一下。如果报1251错误,可以采取如下方法:

mysql> alter user root@localhost identified by 'password' password expire never;

mysql> alter user root@localhost identified with mysql_native_password by 'PasswordOfRoot';

mysql> flush privileges;

其中,PasswordOfRoot是root用户的密码

3.右键点击链接名-新建数据库

4.输入数据库名,选中字符集、排序规则

5.双击数据库名,点击表-新建表

6.创建字段,保存,输入表名

7.双击表名,通过下方的按钮录入数据

猜你喜欢

转载自blog.csdn.net/xiaoshisande/article/details/89202659