I need help with phpMyAdmin,config.inc.php,cann't log-in

Connect with other users about what to run on your webhosting (and how to run it) here.
Post Reply
User avatar
CoreWarrior
New to forums
New to forums
Posts: 6
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Fri Jul 02, 2004 9:42 pm
Location: USA
Contact:

I need help with phpMyAdmin,config.inc.php,cann't log-in

Post by CoreWarrior »

I am going to lose my mind if I cann't get this to work.There are two projects I want to finish.A php-nuke GameMaps management module and a game server stat query module.Both of these require me to create tables in mysql.
I have uploaded the phpAdmin files to http://corewarrior505.nuclearfallout.net/phpAdmin/

I edited 'config.inc.php' using the hostname of localhost, database name of ua, username of ua, and my current password which is the same as the web space ftp password.
when I go to http://corewarrior505.nuclearfallout.ne ... /index.php
I am show the login dialog for phpMyAdmin.I use my user name of ua and my current password,The login fails with Wrong username/password. Access denied.




$cfg['PmaAbsoluteUri'] = 'corewarrior505.nuclearfallout.net/phpMyAdmin/';


$i++;
$cfg['Servers'][$i]['host'] = 'corewarrior505.nuclearfallout.net'; // MySQL hostname or IP address
$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port
$cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket
$cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
$cfg['Servers'][$i]['extension'] = 'mysql'; // The php MySQL extension to use ('mysql' or 'mysqli')
$cfg['Servers'][$i]['compress'] = FALSE; // Use compressed protocol for the MySQL connection
// (requires PHP >= 4.3.0)
$cfg['Servers'][$i]['controluser'] = ''; // MySQL control user settings
// (this user must have read-only
$cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user"
// and "mysql/db" tables).
// The controluser is also
// used for all relational
// features (pmadb)
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'ua'; // MySQL user
$cfg['Servers'][$i]['password'] = '***********'; // MySQL password (only needed
// with 'config' auth_type)
CoreWarrior
Welcome to Clanspot
ut2004://64.94.238.229/Clanspot WickedTeamFraggers UT2K4 Server1
User avatar
Nick|NFo
Former staff
Former staff
Posts: 2252
Joined: Sun Mar 30, 2003 1:56 pm
Location: 127.0.0.1

Post by Nick|NFo »

for HTTP auth_type:

You must specify the details for the controluser in the config.inc.php file under the $cfg['Servers'][$i]['controluser']& $cfg['Servers'][$i]['controlpass']

controluser would be ua, your :username" and controlpass would be the webspace password

also the host is not 'corewarrior505.nuclearfallout.net', keep it at the default, localhost.

then it should work
-Nick
User avatar
Edge100x
Founder
Founder
Posts: 13110
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Post by Edge100x »

You may also need to change $cfg['Servers'][$i]['connect_type'] to 'socket'.
User avatar
CoreWarrior
New to forums
New to forums
Posts: 6
Joined: Fri Jul 02, 2004 9:42 pm
Location: USA
Contact:

Post by CoreWarrior »

Thanks for the fast response. I performed those changes as directed by you, Edge100x and Nick|NFo.

I reconfigured 'config.inc.php as below by adding username and password to the ['controluser']and ['controlpass']
It didn't work.the login dialog did not accept my username and/or password.
I also change the connect mode from 'tcp' to 'socket' and login failed as well the same,not accepted.
thanks

--------------------------------------------------------------------------------------------------------------
* Server(s) configuration
*/
$i = 0;
// The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use $cfg['Servers'][0].
// You can disable a server config entry by setting host to ''.
$i++;
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port
$cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket
$cfg['Servers'][$i]['connect_type'] = 'socket'; // How to connect to MySQL server ('tcp' or 'socket')
$cfg['Servers'][$i]['extension'] = 'mysql'; // The php MySQL extension to use ('mysql' or 'mysqli')
$cfg['Servers'][$i]['compress'] = FALSE; // Use compressed protocol for the MySQL connection
// (requires PHP >= 4.3.0)
$cfg['Servers'][$i]['controluser'] = 'ua'; // MySQL control user settings
// (this user must have read-only
$cfg['Servers'][$i]['controlpass'] = '***********'; // access to the "mysql/user"
// and "mysql/db" tables).
// The controluser is also
// used for all relational
// features (pmadb)
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = ''; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
// with 'config' auth_type)
$cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only
// this db is displayed in left frame
// It may also be an array of db-names, where sorting order is relevant.
$cfg['Servers'][$i]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname
CoreWarrior
Welcome to Clanspot
ut2004://64.94.238.229/Clanspot WickedTeamFraggers UT2K4 Server1
User avatar
Nick|NFo
Former staff
Former staff
Posts: 2252
Joined: Sun Mar 30, 2003 1:56 pm
Location: 127.0.0.1

Post by Nick|NFo »

you still need to specify this:

$cfg['Servers'][$i]['user'] = ''; // MySQL user

should be ua if thats your username for
-Nick
User avatar
CoreWarrior
New to forums
New to forums
Posts: 6
Joined: Fri Jul 02, 2004 9:42 pm
Location: USA
Contact:

Post by CoreWarrior »

I added the username for mysql account ua to
$cfg['Servers'][$i]['user'] = 'ua'; // MySQL user

Same results as before.login not accepted.
CoreWarrior
Welcome to Clanspot
ut2004://64.94.238.229/Clanspot WickedTeamFraggers UT2K4 Server1
User avatar
Nick|NFo
Former staff
Former staff
Posts: 2252
Joined: Sun Mar 30, 2003 1:56 pm
Location: 127.0.0.1

Post by Nick|NFo »

did you create any .htaccess files for the directory?

I personally use cookie setup when I run phpmyadmin, which I know works by doing this:

change the http to cookie:

$cfg['Servers'][$i]['auth_type'] = 'cookie';

set:

$cfg['blowfish_secret'] = 'webspacepass';

Now it will show you a login place where you use your webspace username and password to login.
-Nick
User avatar
CoreWarrior
New to forums
New to forums
Posts: 6
Joined: Fri Jul 02, 2004 9:42 pm
Location: USA
Contact:

Post by CoreWarrior »

No,I haven't tried that one.I will do later today and then catch up with you later.Thanks,Nick|NFo after my last post I needed a
break so went on-line to played some UT2k4 and get my mind off that problem.I 've been wrestling with it for about a week.Now it's 3:40AM here and I'll turn in.Thank you for the help.I apreciate you helping me.
:D
CoreWarrior
Welcome to Clanspot
ut2004://64.94.238.229/Clanspot WickedTeamFraggers UT2K4 Server1
User avatar
CoreWarrior
New to forums
New to forums
Posts: 6
Joined: Fri Jul 02, 2004 9:42 pm
Location: USA
Contact:

log in to phpMyAdmin

Post by CoreWarrior »

Nick|NFo,I change the auth_type from http to cookie as instructed.This change to auth_type worked and I was able to log in to phpMyAdmin.
Thank You.You ROCK. :lol: :D
CoreWarrior
Welcome to Clanspot
ut2004://64.94.238.229/Clanspot WickedTeamFraggers UT2K4 Server1
Post Reply