Posiadam dostęp do VPS na Xenie, no i mam problem z MySQL
Zainstalowałem je normalnie komendą
Kod: Zaznacz cały
apt-get install mysql-server mysql-common mysql-clientKod: Zaznacz cały
mysql -u root -pPozdrawiam i z góry dziękuję za pomoc.
Kod: Zaznacz cały
apt-get install mysql-server mysql-common mysql-clientKod: Zaznacz cały
mysql -u root -pKod: Zaznacz cały
mysqladmin -u root passwordewentualnie: http://www.debian-administration.org/articles/442dpkg-reconfigure mysql-server
Kod: Zaznacz cały
[root@lessmian:~]# mysql --defaults-file=/etc/mysql/debian.cnf
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 43
Server version: 5.0.51a-24+lenny4 (Debian)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> use mysql
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> update user set password=password('newpass') where user='root';
Query OK, 0 rows affected (0.00 sec)
Rows matched: 3  Changed: 0  Warnings: 0
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
mysql> quit
Bye
[root@lessmian:~]# mysql -u root -pnewpass                         
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 44
Server version: 5.0.51a-24+lenny4 (Debian)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>