After performing the su-s/bin/sh-c "keystone-manage db_sync" Keystone Sync, view the Keystone table as empty __openstack

Source: Internet
Author: User

Workaround:

[Root@controller opt]#mysql_secure_installation

Note:running all PARTS The This SCRIPT is recommended to all MARIADB
SERVERS in PRODUCTION use! Please READ each step carefully!


In order to log into mariadb to secure it, we'll need the current
Password for the root user. If you ' ve just installed mariadb, and
You haven ' t set the root password yet, the password'll be blank,
So your should just press ENTER here.


Enter current password for root (enter for none): This place returns directly to the
OK, successfully used password, moving on ...


Setting The root password ensures that nobody can log into the MARIADB
Root user without the proper authorisation.


Set root Password? [y/n] n
... skipping.


By default, a MARIADB installation has a anonymous user, allowing anyone
To log into MARIADB without has to have a user account created for
them. This is intended only for testing, and to make the installation
Go a bit smoother. Should remove them before moving into a
Production environment.


Remove anonymous users? [y/n] Y
... success!


Normally, Root should only is allowed to connect from ' localhost '. This
Ensures that someone cannot guess at the root password from the network.


Disallow root login remotely? [y/n] Y
... success!


By default, MARIADB comes with a database named ' test ' that anyone can
Access. This is also intended a for testing, and should to be removed
Before moving into a production environment.


Remove test database and access to it? [y/n] Y
-Dropping test database ...
... success!
-Removing privileges on test database ...
... success!


Reloading the privilege tables would ensure that all changes made so far
would take effect immediately.


Reload privilege tables now? [y/n] Y
... success!


Cleaning up ...


All done! If you have ' ve completed all of the above steps, your mariadb
Installation should now is secure.


The for using mariadb!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.