Skip to content

Instantly share code, notes, and snippets.

@notbend
Created June 5, 2013 03:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notbend/5711497 to your computer and use it in GitHub Desktop.
Save notbend/5711497 to your computer and use it in GitHub Desktop.
mariaDB post install instructions
[ben@haro ~]$ sudo pacman -S mariadb
resolving dependencies...
looking for inter-conflicts...
Packages (3): libmariadbclient-5.5.31-1 mariadb-clients-5.5.31-1 mariadb-5.5.31-1
Total Download Size: 16.51 MiB
Total Installed Size: 153.10 MiB
:: Proceed with installation? [Y/n] Y
:: Retrieving packages ...
libmariadbclient-5.5.31-1-x86_64 6.4 MiB 273K/s 00:24 [#################################################] 100%
mariadb-clients-5.5.31-1-x86_64 882.1 KiB 256K/s 00:03 [#################################################] 100%
mariadb-5.5.31-1-x86_64 9.2 MiB 229K/s 00:41 [#################################################] 100%
(3/3) checking keys in keyring [#################################################] 100%
(3/3) checking package integrity [#################################################] 100%
(3/3) loading package files [#################################################] 100%
(3/3) checking for file conflicts [#################################################] 100%
(3/3) checking available disk space [#################################################] 100%
(1/3) installing libmariadbclient [#################################################] 100%
(2/3) installing mariadb-clients [#################################################] 100%
(3/3) installing mariadb [#################################################] 100%
Installing MariaDB/MySQL system tables in '/var/lib/mysql' ...
OK
Filling help tables...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
To do so, start the server, then issue the following commands:
'/usr/bin/mysqladmin' -u root password 'new-password'
'/usr/bin/mysqladmin' -u root -h haro password 'new-password'
Alternatively you can run:
'/usr/bin/mysql_secure_installation'
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the MariaDB Knowledgebase at http://kb.askmonty.org or the
MySQL manual for more instructions.
You can start the MariaDB daemon with:
cd '/usr' ; /usr/bin/mysqld_safe --datadir='/var/lib/mysql'
You can test the MariaDB daemon with mysql-test-run.pl
cd '/usr/mysql-test' ; perl mysql-test-run.pl
Please report any problems with the '/usr/scripts/mysqlbug' script!
The latest information about MariaDB is available at http://mariadb.org/.
You can find additional information about the MySQL part at:
http://dev.mysql.com
Support MariaDB development by buying support/new features from
Monty Program Ab. You can contact us about this at sales@montyprogram.com.
Alternatively consider joining our community based development effort:
http://kb.askmonty.org/en/contributing-to-the-mariadb-project/
>> If you are migrating from MySQL, don't forget to run 'mysql_upgrade'
after mysqld.service restart.
Optional dependencies for mariadb
perl-dbd-mysql: mytop dependency
perl-term-readkey: mytop dependency
[ben@haro ~]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment