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 8619479
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T06:21:01+00:00 2026-06-12T06:21:01+00:00

I am getting a pretty obvious error message from my script, but I know

  • 0

I am getting a pretty obvious error message from my script, but I know my details are right and that I have grant requests from this web service (000webhost.net). Apparently others on the web are not getting this error and after 3 days of this message, I am getting pretty frustrated! Does anyone know how to fix it through my provider:

Access denied for user ‘a3040562_kputts’@’10.1.1.18’ to database ‘ireport’

Also, here is the piece of sample code incase others think I am typing in the wrong information:

// Make a MySQL Connection
mysql_connect("mysql4.000webhost.com", "a3040562_kputts", "(censored)") or     die(mysql_error());
mysql_select_db("ireport") or die(mysql_error());
  • 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-06-12T06:21:02+00:00Added an answer on June 12, 2026 at 6:21 am

    You are successfully connecting to the database server, but your user does not have the necessary MySQL permissions to use that particular database. You will need to execute a GRANT query as a privileged user (or one with GRANT OPTION permissions on that database).

    To allow this user to use the database (but not necessarily any tables):

    GRANT USAGE ON ireport.* TO 'a3040562_kputts'@'10.1.1.18';
    

    To allow this user full permission on all objects in that database:

    GRANT ALL ON ireport.* TO 'a3040562_kputts'@'10.1.1.18';
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a program that is getting pretty big and it is a pain
I'm getting pretty comfortable with git but I've hit something that puzzles me. We
I have a pretty nifty tool, underscore-cli , that's getting the strangest behavior when
I'm getting pretty big input string into my method, but what I actually need
I'm pretty new to Node.js/Express, but I think I'm slowly getting the hang of
I'm pretty new to FPGA and Verilog, but I'm having a problem getting my
I'm building an app that uses a lot of images, so it's getting pretty
I have added a simple .js file to my page that has some pretty
I am pretty new to django, but have many years experience coding in the
I'm getting started with Irony (version Irony_2012_03_15) but I pretty quickly got stuck when

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.