Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

New Website And Database

Featured Replies

Hiya

 

I have had a new site uploaded except when trying to view the pages that need to connect to databse i get this error below, help would be appreciated! :rolleyes:

 

Warning: mysql_pconnect() [function.mysql-pconnect]: Host 'cpanel1.uk2.net' is not allowed to connect to this MySQL server in /home/shamanic/public_html/Connections/shamanicwillow.php on line 9

 

Fatal error: Host 'cpanel1.uk2.net' is not allowed to connect to this MySQL server in /home/shamanic/public_html/Connections/shamanicwillow.php on line 9

Hmmm... would hazard a guess that the MySQL server you are trying to connect to is configured to not allow connections from a remote server (local connections only).

 

Does that sound right? - ie ARE you trying to connect to a remote database?

  • Author
Hmmm... would hazard a guess that the MySQL server you are trying to connect to is configured to not allow connections from a remote server (local connections only).

 

Does that sound right? - ie ARE you trying to connect to a remote database?

 

i'm tryin to connect to the databse via my web hosting server - i have designed the site in dreamwaver cs3 and have been testing/preview on my pc using phpmyadmin. i have uploaded the sql databse file and added a user but i seem to be having trouble getting the pages that need the databse to run live via my hosting provider -0 do i need to configure anything in dreamwevaer cs3 before ulpoading the site?

It sounds more like a problem with the server configuration than anything Dreamweaver related.

 

Can you paste the code where the mysql_connect() is trying to function (obviously dont paste your password)?

 

Do you have any ability to edit the MySQL config (ie - can you edit my.conf via SSH)? If not you may need to contact your hosts to help you with this one.

  • Author

Have spoke to my hosting provider and they fixed the errors all is working now - many thanks for your quick replies and guidance Aaron

 

Regards Gary

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.