Announcement

Collapse
No announcement yet.

Having issues connecting PHP file to Navicat

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

  • Having issues connecting PHP file to Navicat

    I am using below code but no luck in connecting. With the same file i am able to connect to local host but not with this one. Please help me, i am not sure if i am missing anything?

    <?php
    //connect to mysql db
    $con = mysqli_connect("50.97.151.11","root","password","r os");
    //connect to the service orders database
    mysqli_select_db($con, "ros") or die('Could not connect: ' . mysql_error());
    connection info

  • #2
    Could you please provide us the following information? You can send them to our support center - https://help.navicat.com/hc/en-us/requests/new , we will get back to you by email.

    1. Screenshots showing the connection setting (General, Advanced, SSH, HTTP, and SSL tabs) in Navicat. Right-click your connection and choose Edit Connection.
    2. All error messages you have received.

    Comment

    Working...
    X