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)06/01 Report--
Create a user:
Create user 'oukele'@'%' identified by' oukele'
If you are prompted for the information listed below, you need to refresh the permission table.
The MySQL server is running with the-skip-grant-tables option so it cannot execute this st...
The steps are as follows:
Extended learning
Mysql creates a new user and grants remote access
[root@demo /] # mysql-u root-p # Log into the server database
Enter password:123xxx
# 1. Create a new user with a testuser password of testuserpass
CREATE USER 'testuser'@'localhost' IDENTIFIED BY' testuserpass'
# 2. Create a database testDB
Create database testDB
# 3. Execute the command to add use testDB permissions for the testuser user
Grant all privileges on testDB.* to testuser@localhost identified by 'testuserpass'
# 4. Execute the command to add remote access for the testuser user
GRANT ALL PRIVILEGES ON testDB.* TO 'testuser'@'%' IDENTIFIED BY' testuserpass' WITH GRANT OPTION
# 5. Refresh permissions table
Flush privileges
The above is the whole content of this knowledge point, more related knowledge points can be found in the relevant articles below.
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.