close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

My page is not connecting to my database

Thread began 4/27/2020 3:52 am by vered435903 | Last modified 4/28/2020 3:45 pm by Ray Borduin | 30 views | 4 replies |

vered435903

My page is not connecting to my database

Hello,

I hope you had a good weekend!

I am having a connection issue to my database.... I have tried both the user connection I created for the form and the admin connection with global privileges, but neither are working. I've compared the connections file with a comparable one I have that is functioning for one of the other sites I've developed that is hosted on the same platform. However, I cannot find the issue. Can you please help?

https://aguair.com/quote/

Thank you!!

Sign in to reply to this post

Ray BorduinWebAssist

You had the host name specified wrong in your connection file. I thought that was the issue, but it still happens after I updated it. I'd still download the connection file with the update I made.

Maybe send that page to your hosting provider. Based on the error I'd say the database server setting is wrong. Can you see the database when going in through phpMyAdmin? Can you give me access to look there? There seems to be something wrong with your connection information or the server configuration itself.

Sign in to reply to this post
Did this help? Tips are appreciated...

vered435903

Hello Ray,

Thanks for trying. I'm perplexed, especially since the settings match the other connections file on another site. See the pm for access information to the phpMyAdmin portal.... Yes, I can log in there with the credentials that match the connections file....

Sign in to reply to this post

Ray BorduinWebAssist

You had:
$domains = explode(",","http://aguair.com");

It should have just been:
$domains = explode(",","aguair.com");

That was causing it to use the local database credentials and why it wasn't working.

I've updated your connection and that page loads now.

Sign in to reply to this post
Did this help? Tips are appreciated...

vered435903

Ray! As always, you're the BEST!

Thanks so much for your help!

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...