Portal Home > Knowledgebase > Articles Database > How to config phpMyAdmin
How to config phpMyAdmin
Posted by dungiis, 08-23-2007, 05:50 AM |
I am a newbie and now i am running a VPS account . I have some questions want to ask you
Where is the locate of phpMyAdmin ?
I am running VPS server but get error when access to phpmyadmin.
I created a user=root and passworld=xxx in my WHM .
How to find config.inc.php ?
- locate but error
Last edited by dungiis; 08-23-2007 at 05:54 AM.
|
Posted by KarmaHost, 08-23-2007, 06:13 AM |
With cPanel, go to PMA's index. Get the path. And now go to that path in VPS, and cofigure it.
|
Posted by dungiis, 08-23-2007, 06:44 AM |
I still get error . This is my steps
1 - Command "nano -w /etc/my.cnf" and edit to
Then restart mysql
2 - command "nano -w /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php"
and edit the file config.inc.php to
Finally, find the line below, which is located right below "Server(s) configuration" section and above the "Other core phpMyAdmin setting" section.
RIGHT or WRONG ?
|
Posted by dungiis, 08-23-2007, 09:23 AM |
Some questions
$cfg['Servers'][$i]['controluser'] = ?????
$cfg['Servers'][$i]['controlpass'] = ????
and
$cfg['Servers'][$i]['auth_type'] = ????
$cfg['Servers'][$i]['user'] = ????
|
Posted by macker, 08-23-2007, 02:37 PM |
The phpMyAdmin docs explain what these options are, when you should/shouldn't use them, and answer many more questions.
Please do take the time to read the docs. Trying to configure options without knowing what they are tends to lead to broken and/or insecure installations. If you're having difficulty understanding what something in the docs means, ask about that.
The options you've listed deal with how phpMyAdmin tries to interface with MySQL, and depends on what authentication mode you want to use. You need to understand the options, since if you set one mode but don't do other things to protect it, your server can (and probably will) get hacked.
|
Add to Favourites Print this Article
Also Read