/debian.cnf. In fact, unless you also backed up that file, you probably don't even know what that password is anymore!
===== Resetting the mysql r... =
So now look up the debian sys maint password that debian created for you when you installed it on the new server... should be a highly protected file.)
<code>sudo cat /etc/mysql/debian.cnf</code>
Now, log in to mysq
weg...
Listing 3: Einspielen einer einzelnen Datenbank aus einer Dump-Datei ("–all-databases dump") die mehrere Datenbanken beinhaltet
<code>
mysql -u root -p --one-database dbname < backup.sql
</code>
ensatz und Konvertierung ===
Der default-Zeichensatz in mySQL ist latin1.
So gut wie alle linux-Ditris haben auf UTF-8 ... m Konvertieren in die SQL-Codepage verwende ich //recode//:
<code>
recode UTF-8..latin1 <Ursprung-UTF-8.csv >Ergebnis-latin1.csv
</code>