mysql

no1youknowz
Posts: 8
Member Since:
2007-05-16

Hi,

Is there anyway to uninstall mysql and then point the database locations to another server for trixbox/sugar crm?

The reason, is that I currently am using mysql using drbd/ha.

Let me know.

Thanks



jeb
Posts: 176
Member Since:
2006-08-22
mysql ...

no1youknowz,

There are many components under the hood of TrixBox. Most have their own database config.

I wouldn't uninstall mysql "just in case". Just stop the local mysql service from running on the asterisk box. If something breaks it's likely still trying to access the local database. You'll have to patch each config file one at a time.

These two might be a good place to start:
/etc/asterisk/amportal.conf
/var/www/html/crm/config*.php

-- James Bennett



eoo
Posts: 448
Member Since:
2006-10-30
You can use a different

You can use a different MySQL server box by going into a bunch of config files and pointing it to your alternate box. However, you need to be _really_ careful especially if you are going, as you indicate in your post, to point to a database already being used by another trixbox otherwise all kinds of unintended consequences are going to start happening. You will need to create separate databases for each trixbox on your alternate server and that will have to be factored into your config changes otherwise both TB servers will get extremely messed up very rapidly.



dibble5504
Posts: 12
Member Since:
2008-01-02
MySQL on a separate server

I've got the databases running on a separate server:
http://www.paulmccormack.com/2008/03/05/running-trixbox-databases...

Hope this helps.

Paul



KodaK
Posts: 1884
Member Since:
2006-06-14
dibble, can you edit your

dibble, can you edit your post and use a tinyurl link or something? Long links are getting cut off here.

--

WARNING: I no longer actively participate in these forums. My thoughts on trixbox in a nutshell: http://www.youtube.com/watch?v=q4xBMkWu1pE Use AsteriskNOW instead.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.