Home > database >  The problem of mysql
The problem of mysql

Time:10-05



The first picture I use the command line to build database in the don't understand what's the matter, the second picture is with Navicat new connection problems, found in the Internet I tried all the methods such as the new rules, start the server to tried or not

CodePudding user response:

The create database db1.

Try this statement.

CodePudding user response:

The first problem is the last didn't add a semicolon,
Second question confirm the MySQL service has been started, try to restart the service,

CodePudding user response:

Have been solved, thank you, behind the figure is port is wrong, when I look at is port 3306, I remember the time of installation database is 3306, so has been the default fill 3306 ports, don't know where is wrong, the connection of ports to become 3307, a little hurt
  • Related