Fixes prompt for MariaDB
Since the actual MySQL server is now MariaDB, the command line prompt has changed. This now shows the correct MariaDB prompt when creating the keystone, glance, neutron and nova databases. Change-Id: I8bc19370ecc309ac47701aebd184c34d1baf381e Closes-Bug: 1648783
This commit is contained in:
parent
67d65c2904
commit
7ae814c06d
@ -26,7 +26,7 @@ create a database, service credentials, and API endpoints.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
mysql> CREATE DATABASE glance;
|
||||
MariaDB [(none)] CREATE DATABASE glance;
|
||||
|
||||
.. end
|
||||
|
||||
@ -34,9 +34,9 @@ create a database, service credentials, and API endpoints.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
mysql> GRANT ALL PRIVILEGES ON glance.* TO 'glance'@'localhost' \
|
||||
MariaDB [(none)] GRANT ALL PRIVILEGES ON glance.* TO 'glance'@'localhost' \
|
||||
IDENTIFIED BY 'GLANCE_DBPASS';
|
||||
mysql> GRANT ALL PRIVILEGES ON glance.* TO 'glance'@'%' \
|
||||
MariaDB [(none)] GRANT ALL PRIVILEGES ON glance.* TO 'glance'@'%' \
|
||||
IDENTIFIED BY 'GLANCE_DBPASS';
|
||||
|
||||
.. end
|
||||
|
@ -29,7 +29,7 @@ database and an administration token.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
mysql> CREATE DATABASE keystone;
|
||||
MariaDB [(none)] CREATE DATABASE keystone;
|
||||
|
||||
.. end
|
||||
|
||||
@ -37,9 +37,9 @@ database and an administration token.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
mysql> GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'localhost' \
|
||||
MariaDB [(none)] GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'localhost' \
|
||||
IDENTIFIED BY 'KEYSTONE_DBPASS';
|
||||
mysql> GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'%' \
|
||||
MariaDB [(none)] GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'%' \
|
||||
IDENTIFIED BY 'KEYSTONE_DBPASS';
|
||||
|
||||
.. end
|
||||
|
@ -22,7 +22,7 @@ must create a database, service credentials, and API endpoints.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
mysql> CREATE DATABASE neutron;
|
||||
MariaDB [(none)] CREATE DATABASE neutron;
|
||||
|
||||
.. end
|
||||
|
||||
@ -31,9 +31,9 @@ must create a database, service credentials, and API endpoints.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
mysql> GRANT ALL PRIVILEGES ON neutron.* TO 'neutron'@'localhost' \
|
||||
MariaDB [(none)] GRANT ALL PRIVILEGES ON neutron.* TO 'neutron'@'localhost' \
|
||||
IDENTIFIED BY 'NEUTRON_DBPASS';
|
||||
mysql> GRANT ALL PRIVILEGES ON neutron.* TO 'neutron'@'%' \
|
||||
MariaDB [(none)] GRANT ALL PRIVILEGES ON neutron.* TO 'neutron'@'%' \
|
||||
IDENTIFIED BY 'NEUTRON_DBPASS';
|
||||
|
||||
.. end
|
||||
|
@ -25,8 +25,8 @@ create databases, service credentials, and API endpoints.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
mysql> CREATE DATABASE nova_api;
|
||||
mysql> CREATE DATABASE nova;
|
||||
MariaDB [(none)] CREATE DATABASE nova_api;
|
||||
MariaDB [(none)] CREATE DATABASE nova;
|
||||
|
||||
.. end
|
||||
|
||||
@ -34,13 +34,13 @@ create databases, service credentials, and API endpoints.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
mysql> GRANT ALL PRIVILEGES ON nova_api.* TO 'nova'@'localhost' \
|
||||
MariaDB [(none)] GRANT ALL PRIVILEGES ON nova_api.* TO 'nova'@'localhost' \
|
||||
IDENTIFIED BY 'NOVA_DBPASS';
|
||||
mysql> GRANT ALL PRIVILEGES ON nova_api.* TO 'nova'@'%' \
|
||||
MariaDB [(none)] GRANT ALL PRIVILEGES ON nova_api.* TO 'nova'@'%' \
|
||||
IDENTIFIED BY 'NOVA_DBPASS';
|
||||
mysql> GRANT ALL PRIVILEGES ON nova.* TO 'nova'@'localhost' \
|
||||
MariaDB [(none)] GRANT ALL PRIVILEGES ON nova.* TO 'nova'@'localhost' \
|
||||
IDENTIFIED BY 'NOVA_DBPASS';
|
||||
mysql> GRANT ALL PRIVILEGES ON nova.* TO 'nova'@'%' \
|
||||
MariaDB [(none)] GRANT ALL PRIVILEGES ON nova.* TO 'nova'@'%' \
|
||||
IDENTIFIED BY 'NOVA_DBPASS';
|
||||
|
||||
.. end
|
||||
|
Loading…
Reference in New Issue
Block a user