diff --git a/docs/source/advanced/hierarchy/databases/mysql_remove.rst b/docs/source/advanced/hierarchy/databases/mysql_remove.rst index 6a25ab488..e8c71c951 100644 --- a/docs/source/advanced/hierarchy/databases/mysql_remove.rst +++ b/docs/source/advanced/hierarchy/databases/mysql_remove.rst @@ -12,18 +12,18 @@ If you no longer want to use MySQL/MariaDB to maintain ``xcatdb``, and like to s XCATBYPASS=1 restorexCATdb -p ~/xcat-dbback -* Change to PostgreSQL, following documentation: :doc:`/advanced/hierarchy/databases/postgres_install` +* Change to PostgreSQL, following documentation: :doc:`/advanced/hierarchy/databases/postgres_install` * Change back to default xCAT database, SQLite (**Note**: xCAT Hierarchy cluster will no longer work) - #. Stop the ``xcatd`` daemon on the management node. :: + #. Stop the ``xcatd`` daemon on the management node. :: service xcatd stop - #. Remove the ``xatdb`` from MySQL/MariaDB (optional): :: + #. Remove the ``xatdb`` from MySQL/MariaDB (optional): :: - /usr/bin/mysql -u root -p + /usr/bin/mysql -u root -p drop the xcatdb: :: @@ -34,10 +34,10 @@ If you no longer want to use MySQL/MariaDB to maintain ``xcatdb``, and like to s mysql> drop user xcatadm; #. Move, or remove, the ``/etc/xcat/cfglog`` file as it points xCAT to MySQL/MariaDB. (without this file, xCAT defaults to SQLite): :: - - rm /etc/xcat/cfgloc + + rm /etc/xcat/cfgloc #. Restart ``xcatd``: :: - service xcatd start + service xcatd start