1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Access denied for new user database

Discussion in 'MySQL' started by lapidus, Jan 11, 2017.

  1. #1
    Hello

    I have a problem after i make new user and put it in config.php

    I move my domain from one host to another and i upload all files on server vps,and website appear.

    Database is uploaded from cpanel in restore database section,that is ok.Now when i make new user database and when i put it in config.php then i receive message: "Access denied for user 'example'@'localhost' to database 'example 2'"

    Why he can't accept my new user database name?
     
    lapidus, Jan 11, 2017 IP
  2. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #2
    Do you actually have a user named "example"?
     
    PoPSiCLe, Jan 11, 2017 IP
  3. lapidus

    lapidus Well-Known Member

    Messages:
    392
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    128
    #3
    No,i just put "example" to you can see it,but instead of example is user database which i have created new one.
    And just to say again: Website is live and is up that is not a problem,problem is that i can not have access to admin panel,because of that error with user database.
     
    Last edited: Jan 11, 2017
    lapidus, Jan 11, 2017 IP