1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 MySql connection on azure

Discussion in 'Installation, Upgrade, and Import Support' started by Andric, Apr 29, 2015.

  1. Andric

    Andric Member

    Hi - trying to set up a dev/private admin site on azure so I can eventually move from the VM to a webapp. The default setting for connecting to mysql addin (cleardb) want apps to connect using an ssl certificate along with name/pw etc.
    example they give is:
    $db = mysqli_init(); $db->ssl_set(PATH_TO_SSL_CLIENT_KEY_FILE, PATH_TO_SSL_CLIENT_CERT_FILE, PATH_TO_CA_CERT_FILE, null, null); $db->real_connect(HOSTNAME, USERNAME, PASSWORD, DATABASE_NAME);

    does the config file support this or do I need to edit the connection class?

    Thanks in advance
  2. Mike

    Mike XenForo Developer Staff Member

    The connection system does not support that, so editing the DB adapter would be necessary.
  3. Andric

    Andric Member

    thanks. Probably wouldn't be a priority but is this likely to be added as a config item in the future. Doesn't look to hard at first look & I'll put in tomorrow.

Share This Page