Hallo zusammen,
ich wollte jetzt nochmal die Sache mit dem Update angehen. Es läuft noch immer 1.4.7. und ich wollte auf 1.4.8. updaten.
Nach dem Update ist, wie oben beschrieben, der Zugriff auf die Datenbank nicht mehr gegeben.
Also habe ich Kristians Tipp beherzigt und erhalte folgendes Ergebnis:
# /opt/lampp/bin/mysql_fix_privilege_tables --user=root --password=superGeheimesPasswort
This scripts updates the mysql.user, mysql.db, mysql.host and the
mysql.func tables to MySQL 3.22.14 and above.
This is needed if you want to use the new GRANT functions,
CREATE AGGREGATE FUNCTION or want to use the more secure passwords in 3.23
If you get 'Access denied' errors, you should run this script again
and give the MySQL root user password as an argument!
Converting all privilege tables to MyISAM format
If your tables are already up to date or partially up to date you will
get some warnings about 'Duplicated column name'. You can safely ignore these!
ERROR 1060 at line 2: Duplicate column name 'File_priv'
Creating Grant Alter and Index privileges if they don't exists
You can ignore any Duplicate column errors
ERROR 1060 at line 1: Duplicate column name 'Grant_priv'
ERROR 1060 at line 2: Duplicate column name 'Grant_priv'
ERROR 1060 at line 3: Duplicate column name 'Grant_priv'
Setting default privileges for the new grant, index and alter privileges
Adding columns needed by GRANT .. REQUIRE (openssl)
You can ignore any Duplicate column errors
ERROR 1060 at line 1: Duplicate column name 'ssl_type'
Creating the new table and column privilege tables
Changing name of columns_priv.Type -> columns_priv.Column_priv
You can ignore any Unknown column errors from this
ERROR 1054 at line 1: Unknown column 'Type' in 'columns_priv'
Fixing the func table
You can ignore any Duplicate column errors
ERROR 1060 at line 1: Duplicate column name 'type'
Adding new fields used by MySQL 4.0.2 to the privilege tables
You can ignore any Duplicate column errors
ERROR 1060 at line 1: Duplicate column name 'Show_db_priv'
Updating new privileges in MySQL 4.0.2 from old ones
ERROR 1060 at line 1: Duplicate column name 'max_questions'
ERROR 1060 at line 1: Duplicate column name 'Create_tmp_table_priv'
ERROR 1060 at line 4: Duplicate column name 'Create_tmp_table_priv'
ERROR 1061 at line 5: Duplicate key name 'Grantor'
Jetzt habe ich nat. schon einiges probiert bevor ich hier poste.
Unter anderem habe ich eine "saubere" Version von 1.4.7. eingespielt (ohne pers. Datenbank) und dort das Update erfolgreich ausführen können - sogar bist 1.4.11 hoch.
Aber eben ohne meine Datenbanken :-/
Wo könnte denn der Fehler liegen?
Danke & viele Grüße, olli