Sziasztok.
ubuntun tárolt teljes mysql-adathalmazt szeretnék áttenni a tárgy szóban álló distribre (salix).
phpmyadmin és mysql telepítve, apache szintén.
De itt valami irtózatos tájszólásban beszél. Míg debianon parancssorban mindent meg tudtam valósítani, itt nem. 2 napja kutatok vakon, minek mi az oka, de semmire sem jutottam, egyszerűen elfelejtettem, hogy a debianos korom előtt slackware-en hogyan oldottam meg itt mindent.
(Most azért írok ide, hogy lenyugodjak és ne verjem szét az egeret és a klaviatúrát)
Szóval az első hibajelenség:
1. terminál:
root[phpmyadmin]# /etc/rc.d/rc.mysqld start
root[phpmyadmin]# 190211 14:28:51 mysqld_safe Logging to '/var/lib/mysql/gollum.err'.
190211 14:28:51 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
2. terminál:
root[a]# mysql -u a -p
Enter password:
ERROR 1045 (28000): Access denied for user 'a'@'localhost' (using password: YES)
root[a]# mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
root[a]# /usr/bin/mysqladmin -u root password '123456'
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
root[etc]# /usr/bin/mysql_secure_installation
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MariaDB to secure it, we'll need the current
password for the root user. If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none):
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Enter current password for root (enter for none):
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Enter current password for root (enter for none):
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Enter current password for root (enter for none):
root[rc.d]# ls -l /etc/rc.d/rc.mysqld
-rwxr-xr-x 1 root root 3191 nov 3 2017 /etc/rc.d/rc.mysqld
(szóval futtatható..)
...és itt már csapkodtam. Böngészőben a localhost/phpmyadminnál ugyanez a hibaüzenet.
Milyen elemi dolgot felejtettem el? Mert hogy primitív hiba áll fenn, az biztos...