Changes between Version 8 and Version 9 of howto/ZarafaMigrateConnectux
- Timestamp:
- 12/14/10 18:30:12 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/ZarafaMigrateConnectux
v8 v9 20 20 }}} 21 21 22 * Achterhaal de mysql user en pass van de database op de SYN-3 server:23 {{{24 [Syn-3] root@syn.kado.local ~# grep mysql /etc/zarafa/server.cfg25 # Database engine (mysql)26 database_engine = mysql27 # MYSQL SETTINGS (for database_engine = mysql)28 mysql_host = localhost29 mysql_port = 330630 mysql_user = zarafa31 mysql_password = 4bee250a-3363-4764-b7fc-9c1d64844b0932 mysql_database = zarafa33 }}}34 22 35 36 * Zorg dat de Zarafa database op de SYN-3 server leeg is: 23 * Zorg dat de Zarafa database op de SYN-3 server leeg is: 37 24 {{{ 38 25 [Syn-3] root@syn.kado.local ~# svcstop /service/zarafa-server/ 39 26 Stopping /service/zarafa-server/ ....OK 40 [Syn-3] root@syn.kado.local ~# mysqladmin -p 4bee250a-3363-4764-b7fc-9c1d64844b09 -u zarafadrop zarafa27 [Syn-3] root@syn.kado.local ~# mysqladmin -p`cat /etc/my.passwd` drop zarafa 41 28 Dropping the database is potentially a very bad thing to do. 42 29 Any data stored in the database will be destroyed. … … 44 31 Do you really want to drop the 'zarafa' database [y/N] y 45 32 Database "zarafa" dropped 46 [Syn-3] root@syn.kado.local ~# mysqladmin -p 4bee250a-3363-4764-b7fc-9c1d64844b09 -u zarafacreate zarafa33 [Syn-3] root@syn.kado.local ~# mysqladmin -p`cat /etc/my.passwd` create zarafa 47 34 [Syn-3] root@syn.kado.local ~# 48 35 … … 52 39 53 40 {{{ 54 linux:/md0 # mysqldump --quick -uroot -p'ec!db%pw' zarafa | ssh root@10.0.0.6 "mysql -uzarafa -p4bee250a-3363-4764-b7fc-9c1d64844b09zarafa"41 linux:/md0 # mysqldump --quick -uroot -p'ec!db%pw' zarafa | ssh root@10.0.0.6 'mysql -p`cat /etc/my.passwd` zarafa" 55 42 root@10.0.0.6's password: 56 43 }}}