How to connect asterisk to a windows mysql DB?

greetings! :smiley:

i have a problem…i need to connect asterisk to a mysql data base that is located in a windows server… :frowning:

actually i have my asterisk connected in a local data base with this configuration:

res_mysql.conf

dbhost = localhost
dbname = asterisk
dbuser = asterisk
dbpass = asterisk
dbport = 3306
dbsock = /var/lib/mysql/mysql.sock

how can i connect asterisk to a mysql database that is localted in windows?

thanks for you help! :stuck_out_tongue:

just change the dbhost parameter to point to the windows server IP address or FQDN. change the user and password parameters to match your windows server [making sure the windows server account is usable for remote access]

you are an idol!

thanks men!

i used the server ip address and i created a user in the other db.
thats was all!

:smiley: