problem to connect my database

24 views
Skip to first unread message

gladys

unread,
Jul 18, 2012, 2:26:54 AM7/18/12
to plansc...@googlegroups.com

(I'm sorry, my english isn't good, I hope you understand me)

I edited the file plans_config.pl and I set the $data_storage_mode variable to 1 and change the variables

here's the file:

# 0 = flat text files
# 1 = mysql
# 2 = MS Sql server
$options{data_storage_mode} = 1;
.................................
$options{db_name} = "cpamontheych1";                         # The name of the database (you have to create it on your own first)
$options{db_hostname} = "localhost:3306";                     # The database hostname and port
$options{db_username} = "cpamAdmin";                        # The username you'll use to connect
$options{db_password_file} = "plans_mysql.pwd";          # Put the DB password in this file.
                                                    

The parametres are ok, I tested connexion with anonther programm

but here's the result:
 

502 Bad Gateway

The server returned an invalid or incomplete response.
 
I use th 8_2.1 version.
Is it a bug?
 
Thanks for your help
Reply all
Reply to author
Forward
0 new messages