DB Connection issues#715

Subscribe to DB Connection issues 4 post(s), 3 voice(s)

 
Avatar bgallet 1 post #1880

I am having DB issues when setting up mingle. The errors are:
Could not connect: Check that the hostname and port are correct

I checked, and I can connect to my DB using the parameters I give to mingle.

What’s wrong? My yml file is:
production: driver: com.mysql.jdbc.Driver password: password username: mingle adapter: jdbc url: jdbc:mysql://localhost/mingle

mysql -u mingle -ppassword mingle allows me to connect.

TIA,

- Bernard Gallet -

 
Avatar WPC Administrator 18 post(s) #2012

hi, bgallet

Have you change the database.yml manually? If you trying to do that, please taking care of the yaml format. If you are not a yaml expert, there is a simpler way to do this. Shutdown mingle server first, simply delete the database.yml file, start mingle server, and visit it through browser. Then mingle will promote you page of install configuration again. Click next button go to database configuration page input your mysql configuration again. After that mingle will regenerate your database.yml in a correct format.

Regards

WPC

 
Avatar tetram 1 post #2588

Hi,

I have the same problem and I use the configuration with browser. I try to find any database.yml but no one exists.

Thx.

 
Avatar WPC Administrator 18 post(s) #2677

database.yml is under ‘config’ folder of your data directory. It should be there after first time you go through the install steps.