Problem in connecting to mysql database

Discussion in 'MySQL' started by maqubex, May 14, 2012.

  1. maqubex

    maqubex New Member

    Joined:
    May 14, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    hai everybody,

    i am having the following infos of a site..


    *php + mysql
    *database info ( DB_SERVER, DB_NAME, DB_USER, DB_PASSWORD )
    *cPanel first:11.25.0-RELEASE_43473 latest:11.25.0-CURRENT_46156 Cpanel::ZoneFile::VERSION:1.3
    *Cpanel Username

    now the things i dont have is

    *Cpanel password
    *FTP access

    i had tried many of the db conncting s/w..inroder to conect to the db. but everything is showing error due to invalid permission.. and if anybody who can give me an exact solutiin wil be much more helpful:D
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    CPanel password is not same as MySQL password and you have to create a database with username and password in your CPanel.

    Search for MySQL Database Wizard Icon in cpanel to create database and associate user to that database with needed permissions.
     
    coderzone likes this.
  3. Alex.Gabriel

    Alex.Gabriel New Member

    Joined:
    Oct 23, 2011
    Messages:
    86
    Likes Received:
    7
    Trophy Points:
    0
    Occupation:
    Linux system administrator
    Location:
    Italy
    Home Page:
    http://blog.evilcoder.net
    You cant connect from cPanel's mysql database from external server . Only from localhost.
     
    Last edited: May 14, 2012

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice