* russbucket <[EMAIL PROTECTED]> [01-18-07 14:44]:
> installed apache2, php5 and mysql on OpenSuse 10.2. With no password
> phpMyAdmin worked from Konqueror. I added passwords for root and
> user. Now I cannot get to phpMyAdmin to work from Browser, Mysql say
> need passwd. I can find setup.php in
> /srv/www/htdocs/phpmyadmin/libraries/dbg but cannot get it to run. Is
> the the setp script the documentation mentions as being in
> script/setup.php? I have no scripts folder in phpMyAdmin. When I look
> for config.inc.php there is no only a sample. Can I copy the
> config.inc.php (SUSE 10.0 version) into the 10.2 version?
you probably need to edit your password configuration in
/srv/www/htdocs/phpmyadmin/config.inc.php
I have, beginning around line 47:
/**
* 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 ''. If you want more than one server, just copy following section
// (including $i incrementation) serveral times. There is no need to
// define
// full server array, just define values you need to change.
$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'] = 'tcp'; // How to connect to MySQL
server ('tcp' or 'socket')
$cfg['Servers'][$i]['extension'] = 'mysql'; // The php MySQL extension
to use ('mysql' or 'mysqli')
if you do not have config.inc.php in /srv/www/htdocs/phpmyadmin, copy
it from /srv/www/htdocs/phpmyadmin/libraries
--
Patrick Shanahan Registered Linux User #207535
http://wahoo.no-ip.org @ http://counter.li.org
HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2
OpenSUSE Linux http://en.opensuse.org/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]