probleme beim starten von mysql
Posted: 2004-02-23 11:34
halllo
ich hanbe mir mysql nach dem debianhowto inst.
./mysql-4.0.5a
./configure --enable-assembler --with-comment --with-charset=german1 --with-extra-charsets=all --with-mysqld-user=mysql --with-unix-socket-path=/tmp/mysql.sock --without-innodb --without-debug --without-bench --without-extra-tools --without-docs --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static --prefix=/usr/local --sysconfdir=/usr/local/conf --silent
make
make install
strip /usr/local/libexec/mysqld
Falls noch kein MySQL installiert war:
mkdir /var/mysql
mkdir /var/mysql/data
scripts/mysql_install_db
groupadd mysql
useradd -g mysql mysql
chown -R mysql:mysql /var/mysql/data/*
/usr/local/bin/mysqladmin -u root password `geheim`
wenn nich nun letztes eingebe:
/usr/local/bin/mysqladmin -u root password `geheim`
kommt immmer nur folgende fehlermeldung
/usr/local/bin/mysqladmin -u root password `geheim`
bash: geheim: command not found
/usr/local/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
die datei mysql.sock existiert nicht, und ich weiss auch leider nicht wie ich sie erzeugen kann
ich habe mich schon zu tode gegooglet und das ergebnis war immer das gleiche...
bitte um hilfe
mfg tobias
ich hanbe mir mysql nach dem debianhowto inst.
./mysql-4.0.5a
./configure --enable-assembler --with-comment --with-charset=german1 --with-extra-charsets=all --with-mysqld-user=mysql --with-unix-socket-path=/tmp/mysql.sock --without-innodb --without-debug --without-bench --without-extra-tools --without-docs --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static --prefix=/usr/local --sysconfdir=/usr/local/conf --silent
make
make install
strip /usr/local/libexec/mysqld
Falls noch kein MySQL installiert war:
mkdir /var/mysql
mkdir /var/mysql/data
scripts/mysql_install_db
groupadd mysql
useradd -g mysql mysql
chown -R mysql:mysql /var/mysql/data/*
/usr/local/bin/mysqladmin -u root password `geheim`
wenn nich nun letztes eingebe:
/usr/local/bin/mysqladmin -u root password `geheim`
kommt immmer nur folgende fehlermeldung
/usr/local/bin/mysqladmin -u root password `geheim`
bash: geheim: command not found
/usr/local/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
die datei mysql.sock existiert nicht, und ich weiss auch leider nicht wie ich sie erzeugen kann
ich habe mich schon zu tode gegooglet und das ergebnis war immer das gleiche...
bitte um hilfe
mfg tobias