数据库:连接数据库并创建表
发布时间
阅读量:
阅读量
数据库连接实现
通过在终端执行mysql -u root -p命令,可实现与本地数据库的连接操作。
alicedembp:~ alice$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 11
Server version: 8.0.15 MySQL Community Server - GPL
Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear
全部评论 (0)
还没有任何评论哟~
