Creating the Neutron Database
Neutron provides networking function for other service components, such as Nova. It also provides APIs to users. It supports equipment and technologies from different network providers.
Perform the following operations on controller nodes.
- Connect to the MySQL database as the root user.
1mysql -u root -p
- Create a Neutron database.
1CREATE DATABASE neutron;
- Grant proper access permission and replace PASSWORD with the password of the user neutron to access the database.
1 2 3 4
GRANT ALL PRIVILEGES ON neutron.* TO 'neutron'@'localhost' \ IDENTIFIED BY 'PASSWORD'; GRANT ALL PRIVILEGES ON neutron.* TO 'neutron'@'%' \ IDENTIFIED BY 'PASSWORD';
Replace PASSWORD with the password of the neutron user to access the Neutron database.
- Exit the database.
1exit
Parent topic: Installing, Configuring, and Verifying Neutron