Hallo,
ich hab bzw. versuche einen Mysql server auf meinen root zu installieren
allerdings bekomm ich immer folgenden error beim anlegen des root users
debian:/# mysqladmin localhost -u root password "mynewpassword"
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: NO)'
die datei my.cnf hab ich erstellt die liegt in /etc/mysql mit folgendem Inhalt:
-------------------------------
[mysql]
user = root
password = <secret>
[mysqladmin]
user = root
password = <secret>
--------------------------------
Wenn ich dann den Befehl
mysqladmin localhost -u root password "mynewpassword"
ausführe bekomme ich das hier:
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: NO)'
Weiß jemand Rat?
MySql User anlegen
-
- Posts: 1117
- Joined: 2002-09-27 00:54
- Location: Hannover
- Contact:
Re: MySql User anlegen
der mysql server läuft noch nicht
Re: MySql User anlegen
debian:/home/admin# /etc/init.d/mysql start
Starting MySQL database server: mysqld.
Checking for crashed MySQL tables in the background.
Es laufen auch folgende Prozesse:
root 25378 0.0 0.1 2376 1104 pts/2 S 12:41 0:00 /bin/sh /usr/bin/mysqld_safe
root 25414 0.0 0.1 2376 1108 pts/2 S 12:41 0:00 /bin/sh /usr/bin/mysqld_safe
mysql 25415 0.0 1.3 115944 13644 pts/2 S 12:41 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql
Starting MySQL database server: mysqld.
Checking for crashed MySQL tables in the background.
Es laufen auch folgende Prozesse:
root 25378 0.0 0.1 2376 1104 pts/2 S 12:41 0:00 /bin/sh /usr/bin/mysqld_safe
root 25414 0.0 0.1 2376 1108 pts/2 S 12:41 0:00 /bin/sh /usr/bin/mysqld_safe
mysql 25415 0.0 1.3 115944 13644 pts/2 S 12:41 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql
Re: MySql User anlegen
lol ich depp---
apt-get install socket
apt-get install socket