In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article will explain in detail how to set up local area network connection permissions in MySql. The content of the article is of high quality, so the editor will share it for you as a reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
MySql LAN connection permission problem
Solution: you only need to execute a command in the MySql console to assign LAN connection permissions.
Command: grant all privileges on *. * to identified by'1'
Explanation: for 192.168.1.19 host, open all operations on all tables of MySql in this connection, user name is joe, password is 1
After execution: you can log in with the user joe password 1 on the localhost host * * 192.168.1.19 can be any host in the LAN
-
Command details: > grant permission 1, permission 2, … Permission n on database name. Table name to user name @ user address identified by' password
14 permissions: www.2cto.com select,insert,update,delete,create,drop,index,alter,grant,references,reload,shutdown,process,file, etc.
Full permissions: all privileges or all means to grant full permissions to the user.
? Table selection: database name. Table name, *. * represents all tables in all databases
Example:
Mysql > grant select,insert,update,delete,create,drop on vtdc.employee to joe@10.163.225.87 identified by '123'
Examples explain:
Open, vtdc database, employee table, select,insert,update,delete,create,drop permissions
Give the user 10.163.225.87, user name joe password 123
On how to set up local area network connection permissions in MySql to share here, I hope the above content can be of some help to you, you can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.