简体   繁体   中英

Add DB User in MySql Workbench or create users table

I'm doing an application to retrieve data from the database with multiple users. I need to add users to the application.

Should I create users using queries such as (create user . . .) or it is better just to create table users and perform all operations there?

If you mean users as web application users, then you should create a table named like users and insert user details into it. Creating database users for web application users is meaningless.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM