poetries.github.io
poetries.github.io copied to clipboard
Mysql基础复习 | Poetry's Blog
http://blog.poetries.top/2019/01/22/mysql-base-review/
好久没用sql,都忘得干干净净,翻阅以前的学习笔记,觉得有些可记录的点,放在这里以便备用查阅 一、环境搭建 mac安装MySQL 1brew install mysql 123# 启动mysql.server start 12#登录mysql -uroot 二、基础知识1、数据库的连接12# 例子mysql -u root -p 123456 -h 127.0.0.1 -u 用户名 -p