Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6163331
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T21:48:27+00:00 2026-05-23T21:48:27+00:00

I have a script set up on a site which is a static shoutbox

  • 0

I have a script set up on a site which is a static shoutbox page for people to leave comments etc.

Everthing /was/ working fine. I have set up my constants in my shoutbox.php file as such;

define("HOST", "localhost"); 
define("USER", "shout1");
define("PASSWORD", "xxxxxxxx"); 
define("DB", "shout1");

My database is called shout1 and the user name assigned to it is the same. I have created a table on that database called shoutbox which has 4 entries of id (INT), date, user (VARCHAR) & message (VARCHAR) which I believe is fine.

When I go to the domain in question http://p4blo.it/shoutbox I get the error mentioned in the title advising that access is denied @localhost for shout1

Any ideas? I have double and triple checked, deleted DB and tables, recreated etc.

EDIT: Forgot to mention, user shout1 has been assigned access with FULL privileges to database shout1

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T21:48:28+00:00Added an answer on May 23, 2026 at 9:48 pm

    Looks like your host runs with cPanel. In cPanel you have to be carefull with your user and database names, since they are prefixed with your cPanel-username. Eg. if your cPanel-username is “p4blo” then the database is called “p4blo_shout1” and the username “p4blo_shout1”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a PHP scraper script which I use to scrape a page on
I have tried a session.php script which runs at the head of each page
I have a script set up to send out multipart emails; plain text and
I have java script code to set some of the properties of ajax controls.
anyone have script or procedures to install SQL Server 2008 Express, set up the
I have my script manager with attribute enablepagemethods set to true, however, for some
First, the set up: I have a script that executes several tasks after a
I have a python script that analyzes a set of error messages and checks
I have a TSQL script that is used to set up a database as
I have a Perl script that I'm attempting to set up using Perl Threads

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.