1 |
On 9/3/2010 10:53 PM, Jarry wrote: |
2 |
> On 31. 8. 2010 20:30, Mick wrote: |
3 |
> |
4 |
>> I stop apach& mysql, run the update, dispatch-conf and then restart them |
5 |
>> both. Haven't had problems since. |
6 |
> |
7 |
> I tried it that way: |
8 |
> |
9 |
> /etc/init.d/apache2 stop |
10 |
> /etc/init.d/mysql stop |
11 |
> emerge --ask --update --deep --newuse world |
12 |
> emerge --depclean |
13 |
> revdep-rebuild |
14 |
> /etc/init.d/mysql start |
15 |
> /etc/init.d/apache2 start |
16 |
> |
17 |
> Still the same: databases are gone, mysql is empty. Only users |
18 |
> are there. This is strange: how can updating mysql from one stable |
19 |
> version to higher stable cause complete loss of databases??? |
20 |
> |
21 |
> Jarry |
22 |
> |
23 |
|
24 |
IIRC the default my.cnf changed for the worse in Gentoo's 5.1.x ebuild. |
25 |
Try making a copy of your original my.cnf and put it into place once |
26 |
you've upgraded. Else you may need to modify the mysql home and data |
27 |
paths in the new my.cnf to reflect where the database are actually |
28 |
installed. |
29 |
|
30 |
kashani |