Control Web Panel

WebPanel => Installation => Topic started by: ayberk on July 14, 2016, 09:04:48 AM

Title: Mysql Root Password
Post by: ayberk on July 14, 2016, 09:04:48 AM
Hi,

It asks for Mysql Root Password during setup. Where can i find this? or do i need to perform a fresh install for CentOS?

(http://i.imgur.com/CZ4w8FC.jpg)

Thanks
Title: Re: Mysql Root Password
Post by: MyBuddyBen on July 14, 2016, 04:06:44 PM
It's in a file called my.cnf inside the /root folder on your server

so

/root/my.cnf

Your Root mysql password is there.
Title: Re: Mysql Root Password
Post by: ayberk on July 14, 2016, 04:50:02 PM

my.cnf does not appear in /root folder. I use Centos 6. Where could it be?
Title: Re: Mysql Root Password
Post by: Sandeep on July 14, 2016, 10:39:32 PM

my.cnf does not appear in /root folder. I use Centos 6. Where could it be?
Run in ssh
cat /root/.my.cnf
Title: Re: Mysql Root Password
Post by: ayberk on July 15, 2016, 01:09:52 AM
Hi,

[root@ns1 ~]# cat /root/.my.cnf
cat: /root/.my.cnf: No such file or directory

OS: Centos 6 64 Bit.
Title: Re: Mysql Root Password
Post by: ayberk on July 15, 2016, 02:15:27 PM
Can I install this to a working CentOS?
Title: Re: Mysql Root Password
Post by: Igor S. on July 28, 2016, 01:28:12 PM
Hi, for CWP installation you have to use clean CentOS 6.
In your case, you have installed MySQL server and only you knows the password.
Title: Re: Mysql Root Password
Post by: Ravil on August 01, 2016, 12:50:58 PM
добрый день! у меня была такая проблема, я ее решил удалением mysql (yum -y remove mysql), sh cwp-latest сам установит и настроит mysql
Title: Re: Mysql Root Password
Post by: ayberk on August 01, 2016, 01:34:56 PM
Hi, for CWP installation you have to use clean CentOS 6.
In your case, you have installed MySQL server and only you knows the password.

I have no chance to reinstall CentOS. I also found the MySQL password. Do i still need to reinstall CentOS?
Title: Re: Mysql Root Password
Post by: Ravil on August 02, 2016, 04:35:00 AM
delete mysql, cwp self install and configure mysql
Title: Re: Mysql Root Password
Post by: klone7474 on August 09, 2016, 08:20:35 AM
You should reinstall all. Their is 100% something missing or went wrong. I guess you did not install centos minimal.You choose a different setup which include mysql apache and few other services. To guarantee a smooth running system install all new or you will get problems in future. I install it on more then 100 server.