LCKB
Problem Mysql on Centos 7 - Printable Version

+- LCKB (https://lckb.dev/forum)
+-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109)
+--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193)
+---- Forum: Help & Support (https://lckb.dev/forum/forumdisplay.php?fid=157)
+----- Forum: Ep3 Support (https://lckb.dev/forum/forumdisplay.php?fid=150)
+------ Forum: Solved topics (https://lckb.dev/forum/forumdisplay.php?fid=151)
+------ Thread: Problem Mysql on Centos 7 (/showthread.php?tid=4328)



- Groby - 12-26-2014



 

i have no plan -.- 

yum updateStep2: install the apache and mysql and other "importent" stuff like libs.
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
yum groupinstall -y 'MySQL Database' 'Web Server' 'Development Tools' 'Development Libraries'Step3: start your apache and mysql server with booting up the server
chkconfig --add httpd
chkconfig httpd on
chkconfig --add mysqld
chkconfig mysqld onStep4: start your apache and mysql server
service httpd start
service mysqld start

not working to  service mysqld start
 
ty for Help  (my english is bad ) 
 



- Groby - 12-26-2014

can be close i have it




- pwesty - 12-27-2014


Mysqld isn't in the centos repo, it switched to mariadb in centos 7

 

systemctl start mariadb.service

That's how you start mysql in centos 7




- Groby - 12-27-2014


So who works with CentOS server 7 and would like to use Mysql server is working with yum install -y mysql mysql-server does not work as Centos 7 with MariaDB.

 

So I have done so. [How To] Setup your server Quickly (CentOS) Credits to Peter

 

the steps 3 and 4 no longer apply.

 

link

 

Install everything. And then you need ..

yum install MariaDB server MariaDB

systemctl start MariaDB

mysql_secure_installation

systemctl enable mariadb.service

 

mysql -u root -p

 

. GRANT ALL ON * * TO 'USER' @ '%' IDENTIFIED BY 'PASSWORD';

 

If you then want to build a connection with Navicat it is important that it is the function MariaDB Supports google helps ^^

 

and already everything should work. mfg Groby

 

solved