In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-09 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.