准备使用flask搭建一个后端,计划采用mysql作为数据库。
看了教程,需要在flask里连接数据库。
我安装了 mysql workbench,不知道怎么使用。
想知道,在mysql workbench中什么是建立一个新连接?
建立一个新连接是建立了一个数据库还是什么?
伊谢尔伦2017-04-17 14:39:43
Is mysql server installed?
After installation, connect mysql workbench to mysql and you can build databases and tables. They are all graphical and anyone who understands SQL should be able to operate
ringa_lee2017-04-17 14:39:43
Installed. Mainly I don't understand what a database connection is. It’s what exactly a connection is. If I create an understanding in workbench. So do I no longer need to create a connection in the project code?
黄舟2017-04-17 14:39:43
MySQL workbench is similar to Navicat. It is a client GUI tool for operating the MySQL database server. Creating a connection means connecting to a server. Then you can perform a series of operations. This connection and your application code There is no necessary relationship;