Problem Mysql on Centos 7
#1


 

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 ) 
 
#2
can be close i have it

#3

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

#4

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



Forum Jump:


Users browsing this thread: 1 Guest(s)