Forum Getting Started: Installing LAMS on Ubuntu with a external database server


 
You may request notification for Installing LAMS on Ubuntu with a external database server.
Search: 

1: Installing LAMS on Ubuntu with a external database server
03/29/10 03:28 PM
[ Reply | Forward ]
Hi, i'm trying to install lams on ubuntu, my database is on other server, how do i install it? i did it change the parameters and putting the ip of the external database, but a message saying that connection with database is impossible is displayed.
Please, I really need help of how install it... i'll appreciate your help very much!

Posted by raquel lm

2: Re: Installing LAMS on Ubuntu with a external database server
In response to 1 03/29/10 04:59 PM
[ Reply | Forward ]
Hi Raquel,

Are you installing using the unix installer?

If so, you can find instructions in the readme for setting up MySql on a different server under "4. Setting up MySql on a Different Server". There are issues in there like the fact you need to give the mysql user special permissions to have access from the lams server.

If you are still having trouble after following the instructions, a good thing to check is that you can connect to the database from the LAMS machine manually. You will need a mysql client on the lams machine to do this, then try to connect by typing:

mysql -h <hostname> -u<lams db username> -p<pass> <lams database>

Posted by Luke Foxton

3: Re: Re: Installing LAMS on Ubuntu with a external database server
In response to 2 03/29/10 05:57 PM
[ Reply | Forward ]
Hi Luke,

Yes i'm using the unix installer, i'll read the instructions and then i'll tell you if i can do it work!... Thank you for your help :D

Posted by raquel lm

Reply to first post on this page
Back to Getting Started