[Grml] Grml mysql services

Michael Prokop mika at grml.org
Sun Sep 17 16:53:12 CEST 2006


* T <mlist4suntong at yahoo.com> [20060917 16:48]:

> I notice that the mysql services in grml is different that I used to use.
> I used to only have the "mysql" service, but grml default is that "mysql"
> service is disabled while other two mysql-ndb-mgm & mysql-ndb are enabled:

> $ grep mysql /etc/runlevel.conf
> 19      -       2,3,4,5         /etc/init.d/mysql-ndb-mgm
> 20      0,1,6   -               /etc/init.d/mysql
                  ^
                  Set this to something like '2,3,4,5' if you want
                  to start mysql-server on bootup.

> 20      0,1,6   2,3,4,5         /etc/init.d/mysql-ndb
> 21      0,1,6   -               /etc/init.d/mysql-ndb-mgm

> What are those two other two "mysql" service? Can they substitute the
> "mysql" service? If I enable the "mysql" service myself, should I disable
> the other two?

The file is brought to your system by a package named
mysql-server-5.0.

> The reason I'm asking is that I get the following error when trying to
> install a package that depends on mysql:

> ERROR 2002 (HY000): Can't connect to local MySQL server through socket
> '/var/run/mysqld/mysqld.sock' (2)

/etc/init.d/mysql start

regards,
-mika-
-- 
 http://grml.org/            # Linux for texttool-users and sysadmins
 http://wiki.grml.org/       # share your knowledge
 http://grml.supersized.org/ # the grml development weblog
 #grml @ irc.freenode.org    # meet us on irc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://ml.grml.org/pipermail/grml/attachments/20060917/c24b0ff9/attachment-0003.pgp>


More information about the Grml mailing list