Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problemer med å starte mysql på Ubuntu

3 views
Skip to first unread message

Karl-Arne Gjersøyen

unread,
Jun 25, 2011, 7:26:53 AM6/25/11
to
root@linux:/home/karl# /etc/init.d/mysql start
Rather than invoking init scripts through /etc/init.d, use the
service(8)
utility, e.g. service mysql start

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start mysql

Warning: Fake initctl called, doing nothing.
-------------------------------------------------------------------
root@linux:/home/karl# service mysql start

Warning: Fake initctl called, doing nothing.
root@linux:/home/karl#
-----------------------------------------------------------------
root@linux:/home/karl# start mysql

Warning: Fake initctl called, doing nothing.
root@linux:/home/karl#
------------------------------------------------------------------------
root@linux:/home/karl# mysql -u root
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)
root@linux:/home/karl# mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)
root@linux:/home/karl#

Hvordan starter jeg mysql? Jeg har installert LAMP og Apache2 og PHP5
virker som det skal, men jeg klarer ikke å starte MySQL serveren.

Takk for alle råd.
Mvh Karl-Arne

Karl-Arne Gjersøyen

unread,
Jun 25, 2011, 7:03:59 AM6/25/11
to
0 new messages