Jump to content

cannot logon to database over domain.


cluce

Recommended Posts

I currently have a dynamic web site published over my work's domain but I am having trouble connecting to the database over the domain. Currently, mySQL is configured locally. Can someone tell me how to configured this so my coworkers can logon on to the database through their machine.

 

Obviously, I have a connection issue....

 

Fatal error: Call to undefined function mysqli_connect() in C:\Inetpub\wwwroot\email_info.php on line 8

 

Any help is greatly appreciated.

Link to comment
Share on other sites

A call to an undefined function smacks of the extention not being loaded, not really a connection error.

 

Let me see if I understand your situation.  You have a PHP-driven website hosted on YOUR computer.  The MySQL db is also hosted on YOUR computer.  When accessing the website via a web broswer on YOUR computer, it works as expected.  However, when attempting to access the website that's hosted on YOUR computer from a web browser on ANOTHER computer, the above error message displayed.  Is this correct?

Link to comment
Share on other sites

What do you mean by "when I try to logon or access the database?"  Do you mean accessing the website's pages which contain PHP involving the mysqli() functions, or actually trying to access the database via PHP on OTHER machines?

 

If the site and the database are on the same computer, mysql is not connecting "via web."  It's a localhost situation.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.