输入banner图图片脚本导航/分类

mysql学习记录(一)

一、cmd操作mysql

  1.进入mysql

    mysql -h localhost -u root -p + enter

    >enter password:root

  2.简单mysql命令

    create database db_name

    create table table_name(field_name field_type)

    show databases/tables

    describe table_name

  2.sql文件导入导出

    导入:source file_path

    导出:mysqldump -h localhost -u root -p db_name > file_path

 

mysql学习记录(一)

标签: