Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mysql_upgrade : Fails to upgrade akonadi's database
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Mon Jul 29, 2013 9:39 am    Post subject: mysql_upgrade : Fails to upgrade akonadi's database Reply with quote

After upgrading dev-db/mysql from 5.1.67 to 5.1.70, I
Code:
# mysql_upgrade --socket=/home/acoswt/.local/share/akonadi/socket-PrimaPratica/mysql.socket

But it fails
Code:
Looking for 'mysql' as: mysql
Looking for 'mysqlcheck' as: mysqlcheck
Running 'mysqlcheck' with connection arguments: '--port=3306' '--socket=/var/run/mysqld/mysqld.sock' '--socket=/home/acoswt/.local/share/akonadi/socket-PrimaPratica/mysql.socket'
Running 'mysqlcheck' with connection arguments: '--port=3306' '--socket=/var/run/mysqld/mysqld.sock' '--socket=/home/acoswt/.local/share/akonadi/socket-PrimaPratica/mysql.socket'
akonadi.collectionattributetable                   OK
akonadi.collectionmimetyperelation                 OK
akonadi.collectionpimitemrelation                  OK
akonadi.collectiontable                            OK
akonadi.flagtable                                  OK
akonadi.mimetypetable                              OK
akonadi.parttable                                  OK
akonadi.pimitemflagrelation                        OK
akonadi.pimitemtable                               OK
akonadi.resourcetable                              OK
akonadi.schemaversiontable                         OK
Running 'mysql_fix_privilege_tables'...
ERROR 1049 (42000): Unknown database 'mysql'
FATAL ERROR: Upgrade failed

Any idea ?

BTW : I know that going from 5.1.67 to 5.1.70, might not actually deserve a mysql_upgrade, however, I remember having had problems in the past between two releases... so... d'better be safe than sorry.
_________________
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Sat Aug 03, 2013 1:21 pm    Post subject: Reply with quote

Sounds like it has tried to move on to the standard database called mysql and that bit failed. Do you have that database?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum