[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] MySQL crashed



Hi Kris,

Thanks for your contribution.

I tried what you said. Please see below..


>
> > Hello,
> >
> > I installed PHP and MySQL successfully in my new RAQ3. But... I made a
> > mistake and  forgot to write the password for root in MySQL.
> >
> > I tried several times to connect to but I failed. Next step was to
> > delete all files that 'mysql_install_db' make after set up from the
> > directory where MySQL database was.
> > I wanted to re-build these files and star again settin up a new
> > password.
> >
> > But now I can do nothing. Next message appears:
> >
> >
> >> [admin@raq3 bin]$ mysql
> >> ERROR 2002: Can't connect to local MySQL server through socket
> >> '/var/lib/mysql/m
> >> ysql.sock' (111)
> >>
> > I dont know too much about Linux, and I don´t know how can I stop all
> > the process still alive to install again MySQL from the Cobalt FTP files
>
> It looks to me like your problem is that MySQL is not running.
>
> Do the following:
>
> ps -aux | grep sql
> and see what it returns.
>

The return message was...
--------------------------
[admin@raq3 mysql]$ ps -aux | grep sql
root      3242  0.0  1.7  2608 1132 ?        S    May30   0:00 ./mysqld
root      3243  0.0  1.7  2608 1132 ?        S    May30   0:00 ./mysqld
root      3244  0.0  1.7  2608 1132 ?        S    May30   0:00 ./mysqld
--------------------------

What does means...?

Toni


>
> if you want to start the MySQL server, just run /usr/local/bin/safe_mysqld &



>
> -k
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users