Forum Problems Installing LAMS: change port mysql


 
You may request notification for change port mysql.
Search: 

1: change port mysql
02/24/08 12:19 AM
[ Reply | Forward ]
My mysql server run in another port (3307), how can i configure LAMS?

Posted by Paco Cool

2: Re: change port mysql
In response to 1 02/24/08 06:38 PM
[ Reply | Forward ]
Are you about to install LAMS or you have LAMS already installed it?

If you are about to install it, checked the options in the installers to change the mysql port

If you have already installed LAMS, then stop LAMS and look for the .../jboss-4.0.2/server/default/deploy/mysql-ds.xml file.

In there change the line:
jdbc:mysql://localhost:3306/lams

to

jdbc:mysql://localhost:3307/lams


and I think that should do

Ernie

Posted by Ernie Ghiglione

3: Re: Re: change port mysql
In response to 2 02/25/08 01:31 AM
[ Reply | Forward ]
yes , tks but you have to change into my.ini file there is in .....\mysql\mysql-5.0.51a-win32\my.ini

enjoy

Pacool

Posted by Paco Cool

Reply to first post on this page
Back to Problems Installing LAMS