Jump to content
  • 0

Help! Website's Connection To The Database Server Lineage?


Question

2 answers to this question

Recommended Posts

  • 0
Posted (edited)

By putting the right parameters into the right object ($con = new \PDO(...) or $con = new \mysqli(...)), and don't use the mysql_* functions (in case you don't like PDO)... this extension is deprecated and replaced by mysqli.

 

Google these two php extensions and you will find out how to connect. :lol:

Edited by Tessa
  • 0
Posted

after that tessa said go in navicat open your connection add a user with ip % (wildcard) or better your website IP add user/password and with this information stored in PDO connection (that i suggest) your site will be able to connect to your database, then you have to add priviledges to the user of what he will use

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...