Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2009
    Posts
    1
    Plugin Contributions
    0

    Default Connection to Database failed.

    Connection to Database failed ... Access denied for user: 'myname@localhost' (Using password: YES)

    I have checked the data and rechecked many times.
    (https://www.zen-cart.com/tutorials/i...hp?article=137)

    I have installed other database applications on my Server before with no issues.

    Is there anything else I should consider before contacting my host?


    Many thanks in advance

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Connection to Database failed.

    Assuming you've correctly entered the proper database/user/password/server details, it would seem that you've not set valid permissions on the database user you created: https://www.zen-cart.com/tutorials/i...hp?article=268

    Keep in mind that some hosting control panels add a username prefix to all database users you create. ie: if your cPanel username is "jennifer" and you create a database user named "store", then your *actual* database username will be "jennifer_store". Likewise your database name will have a prefix assigned to it as well. Check with your hosting company if you're uncertain about the correct details to enter.
    .

    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.

 

 

Similar Threads

  1. v150 Database Setup Issue: Connection to Database failed, on iPage
    By tempoart in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 10 Jul 2012, 07:43 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR