Artificial intelligent assistant

recreate mysqld file centos I have tried installing mysql several times but keep getting this error: mysqld: unrecognized service I've tried: yum remove mysql-server yum remove mysql yum remove MySQL-* then yum install mysql-server yum install mysql yum install mysql-devel and then both /etc/init.d/mysqld start service mysqld start but keep getting that error. Is there a way to recreate that file possibly?

try :


yum install mysql
yum install mysql-server
yum install mysql-devel
chgrp -R mysql /var/lib/mysql
chmod -R 770 /var/lib/mysql
service mysqld start


It states in the ouptut of the last command to copy and paste mysql.server into the appropriate runlevel area for your install.

find the file mysql.server on the machine anywhere. Anyone know where it is or how to proceed?

It also states to set the passwords for your root account like so

/usr/bin/mysqladmin -u root password 'new-password' /usr/bin/mysqladmin -u root -h hostname password 'new-password'

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy fc0b84ca8f7bfaf04fa32eae53f9e0b8