Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2007
    Posts
    15
    Plugin Contributions
    0

    Default problems installing..cant find database

    Whenever I enter my information on the second part of the installation process, i get the error Database does not exist
    Access denied for user 'XXXXXXX'@'%' to database 'database name' more info...

    i got the database host from my mysql database info. my username is correct. my password is correct. I don't know what I am doing wrong here. the only thing i can think of is the '@'%' after my username. i only replaced my username with XXXX and left the rest...if you guys can understand this. any help...please? im so confused with this.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: problems installing..cant find database

    Is @'% part of your user name?

    You might try adding a simple user name to this DB???

    Did you actually create the DB in your hosting account first?
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Dec 2007
    Posts
    15
    Plugin Contributions
    0

    Default Re: problems installing..cant find database

    i created the database before installation of zen cart. and no...that is not part of my username. my username is a simple one..no spaces or weird characters or anything. thats why i thought it was odd that i was getting that @ stuff added onto it.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: problems installing..cant find database

    Quote Originally Posted by pearljamgurl View Post
    Whenever I enter my information on the second part of the installation process, i get the error Database does not exist
    Access denied for user 'XXXXXXX'@'%' to database 'database name' more info...

    ... i only replaced my username with XXXX and left the rest...if you guys can understand this. any help...please? im so confused with this.
    Access denied for user 'XXXXXXX'@'%' to database 'database name' is a common error message when part of the supplied info is incorrect.

    'XXXXXXXX' is the username you supplied
    '%' means any or all databases on the specified database server. Sometimes the actual database server name is shown here.
    @ is just a joining character
    'database name' would be the database name you supplied

    When a database user is created, it must also be granted permissions to access the database and its tables.
    The error message is telling you that the permissions have not yet been granted ... or the specified user doesn't exist.

    Since you're certain that the username/password are correct, it must be the permissions issue ... which you can usually handle via your hosting control panel. For specific help on your server, contact your hosting company's tech support.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: problems installing..cant find database

    If you created that user just for the database, try using your hosting account user name and password instead. I've had trouble sometimes with MySQL user names.

    Also, some hosts, (including mine) automatically append your hosting account user name to the database name, so your database name would be XXXXXXX_databasename

 

 

Similar Threads

  1. Just installed and cant find database
    By Natural Tone in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Mar 2007, 02:55 AM
  2. cant find
    By g0d4lm1ty in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 10 Dec 2006, 06:01 PM
  3. Script cant seem to find mysql database
    By beasleybub in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 1 Nov 2006, 04:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg