Re: [CentOS] new mysql installation, kinda stuck- sorta solved

2012-02-07 Thread Karanbir Singh
On 02/07/2012 11:52 AM, Michael Simpson wrote: > Sometimes you need to run mysql-db-install as well if you have del'd > all of the /var/lib/mysql/ directory the init scripts should take care of that, as long as there is no /var/lib/mysql present on the machine. -- Karanbir Singh +44-207-0999389

Re: [CentOS] new mysql installation, kinda stuck- sorta solved

2012-02-07 Thread Michael Simpson
On 3 February 2012 07:22, wrote: > Bob Hoffman writes: > > When you run into this kind of problems you can just remove or rename > /var/lib/mysql and restart the service, it should "reset" you back to > square one. Of course, make a backup first! > Sometimes you need to run mysql-db-install as w

Re: [CentOS] new mysql installation, kinda stuck- sorta solved

2012-02-02 Thread nux
Bob Hoffman writes: > after a few yum remove / reinstalls I got this working by doing the > following... > > (not fully set up yet, just the very first step) > > #yum install mysql mysql-server > #service mysqld start > #chkconfig --levels 235 mysqld on > > #mysql --user=root -p First time y

Re: [CentOS] new mysql installation, kinda stuck- sorta solved

2012-02-02 Thread Bob Hoffman
after a few yum remove / reinstalls I got this working by doing the following... (not fully set up yet, just the very first step) #yum install mysql mysql-server #service mysqld start #chkconfig --levels 235 mysqld on #mysql --user=root -p (this is not the syntax I would have normaly used, but

[CentOS] new mysql installation, kinda stuck

2012-02-02 Thread Bob Hoffman
I installed centos 6 as a webserver. It installed mysql. However, I guess I need mysql-server for me to use it for php and my website. I installed that. I am unable to give root a password and can go no further. I have tried mysql-secure-installation and I just get stuck at errors and no progres