[How To] Install CentOS 7 Server MariaDB

12/29/2014 01:11 Hugo081#1
Viel Spaß.

[Only registered and activated users can see links. Click Here To Register...]


HTML Code:
1.  yum update
2.  yum install -y mysql mysql-server mysql-devel mysql-libs php-mysql httpd php gcc-c++ libstdc++.so.6 libz.so.1 libstdc++-libc6.2-2.so.3 libgssapi_krb5.so.2 screen lm_sensors lm_sensors-devel gtk+ php-devel
3.  yum install httpd
4.  systemctl start httpd.service
5.  systemctl enable httpd.service
6.  yum install mariadb-server mariadb
7.  systemctl start mariadb
8.  mysql_secure_installation



Enter current password for root (enter for none): <---- !!
OK, successfully used password, moving on...

Setting the root password ensures that nobody can log into the MariaDB
root user without the proper authorization.

New password: password
Re-enter new password: password
Password updated successfully!
Reloading privilege tables..
 ... Success!

 9.  mysql -u root -p
 10. GRANT ALL ON *.* TO 'USER'@'%' IDENTIFIED BY 'PASSWORD';
 11. set global max_allowed_packet=100000000;
 12.flush privileges;
 13. quit
 14. su --login
 15. iptables -I INPUT -m tcp -p tcp --dport [CeNsOrEd] -j ACCEPT
 16. service iptables save
 
 
 
 Navicat MariaDB http://www.lmdfdg.at/?q=MariaDB+Navicat
12/29/2014 01:23 Apparat#2
Vielleicht soltest du noch hinzufügen das Schritt 11 + 12 nur solange Wirkung hat bis der MySQL Server neugestartet wird. In der Regel wird es in die my.cnf eingetragen ;)
12/29/2014 01:26 Hugo081#3
Quote:
Originally Posted by Apparat View Post
Vielleicht soltest du noch hinzufügen das Schritt 11 + 12 nur solange Wirkung hat bis der MySQL Server neugestartet wird. In der Regel wird es in die my.cnf eingetragen ;)
hab ich noch nix davon gemerkt.
12/29/2014 01:28 Apparat#4
Dann hattest du noch keine großen Datenbanken bei denen der Schritt nötig wäre.
12/29/2014 01:29 Hugo081#5
Quote:
Originally Posted by Apparat View Post
Dann hattest du noch keine großen Datenbanken bei denen der Schritt nötig wäre.
wäre möglich :D