Announcement

Collapse
No announcement yet.

vb5 install or upgrade problem with mysql server name

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • vb5 install or upgrade problem with mysql server name

    In the config.php file, the text version of the server name didn't work:
    $config['MasterServer']['servername'] = 'mysql.mydomainname.org';

    Substituting the text name with the IP address worked, such as:
    $config['MasterServer']['servername'] = '123.123.123.123';

    YMMV...

  • #2
    That's probably because your server name is not going to end with a TLD extension.

    In fact, more often than not, using "localhost" works perfectly well.

    Comment


    • #3
      My host' site server is in Virginia but the mysql servers are in Oregon, and I wonder if that happened because their IP addresses are completely different. I believe localhost only works if the mysql engine is on the same server as the web site??? BTW, the host is DreamHost.com

      Comment


      • #4
        Either the hostname is wrong or your application server cannot resolve it to the MySQL server’s IP.

        Either way this is something only your host can resolve.

        That said, using the IP is fine as long as it never changes.
        MARK.B | vBULLETIN SUPPORT

        TalkNewsUK - My vBulletin 5.6.3 Demo
        AdminAmmo - My Cloud Demo

        Comment


        • #5
          Yes, it's probably the inability of the app server to resolve properly and it certainly is something only the host can fix. It is a static IP address for us -- I just thought it a good idea to mention the point because using the IP address is another way to skin the cat that might be worthy of mentioning in the documentation. Thanks for your clarifications!

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          X