mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-14 02:10:23 +00:00
Remove trailing spaces in file docs/source/advanced/hierarchy/databases/mysql_remove.rst
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user