nodeJs learning -14 mysql database study, Navicat management tools

 

database:

  MySQL free, performance is very good Cons: clustering, disaster a little bit weak

  Oracle charges, large-scale applications, financial level, performance is very good, clustering, disaster recovery is very strong Cons: expensive

 

 mySQL installation tutorial --nodeJsz intelligence agency 17 video lessons

 

Command line operations mySQL:

  Enter the mysql directory : cd C: \ Program Files \ MySQL \ MySQL Server 5.7 \ bin

  Login: mysql.exe -uroot -p password

  Show catalog: show databases;

  Use: use mysql;

  Tables show: show tables;

  Exit: exit  

 

The basic database concepts :

  Dual units:

    1, Library: Folder - used to manage table itself can not save data

    2, the table: the file - to the stored data

    3, Fields - Column

  

 

Database management tools: navicat

   Download and install: Navicat for MySQL

    Packet address: https: //pan.baidu.com/s/1vKkuxepjMtxH-EQfqQmfig

  1, is connected - mySQL   

    

 

 

   2, the new database - right - New Database

    

   

  2, the new table - a database - table - Right - New Table

    Name, type, length, decimal, null primary key (a unique identifier, a query higher performance)

    

 

 

 

 

 

 

  

 

  

 

Guess you like

Origin www.cnblogs.com/LChenglong/p/11841179.html