Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
phpmyadmin? [Risolto!]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
lkkzed
n00b
n00b


Joined: 03 Feb 2005
Posts: 43
Location: UE - Italy

PostPosted: Mon Mar 14, 2005 5:08 pm    Post subject: phpmyadmin? [Risolto!] Reply with quote

Ho installato apache + mysql + php + mod_php + phpmyadmin

sembra che tutto funzioni bene tranne:

entro in http://localhost/phpmyadmin/

e il risultato è che mi si presenta una schermata in cui inserire user e pass qualcuno sa dirmi come configurare questo user e pass?
ho provato con il file config.ini.php presente ma non riesco ad accedere ugualmente...

Ths!


Last edited by lkkzed on Mon Mar 14, 2005 6:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Mon Mar 14, 2005 5:13 pm    Post subject: Reply with quote

Code:
nano -w /var/www/localhost/htdocs/phpmyadmin/config.inc.php


ciao
_________________
cache: a safe place for hiding or storing things..

D-link DWL-G650 AirPlus
Apache Php Mysql
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Mon Mar 14, 2005 5:14 pm    Post subject: Reply with quote

Mi sembra che fosse spiegato cosa fare durante l'installazione.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31585
Location: here

PostPosted: Mon Mar 14, 2005 5:19 pm    Post subject: Reply with quote

Prova a riemergiarlo e vedere che ti dice alla fine
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
lkkzed
n00b
n00b


Joined: 03 Feb 2005
Posts: 43
Location: UE - Italy

PostPosted: Mon Mar 14, 2005 5:20 pm    Post subject: Reply with quote

Si si ho provato a modificare il file.... config.inc.php ma nulla!
quali sono i campi da modificare?
io ho modificato i seguenti campi del file:

$cfg['PmaAbsoluteUri'] = 'http://localhost/phpmyadmin/';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'mia-password';
$cfg['Servers'][$i]['only_db'] = '';

Non ostante abbia inserito una nuova password non riesco ad accedere alla pagina... continua a richiedermi user e pass...
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31585
Location: here

PostPosted: Mon Mar 14, 2005 5:22 pm    Post subject: Reply with quote

lkkzed wrote:
Non ostante abbia inserito una nuova password non riesco ad accedere alla pagina... continua a richiedermi user e pass...

Segui quello che dice portage!!!!! devi anche creare un db per phpmyadmin
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Mon Mar 14, 2005 5:28 pm    Post subject: Reply with quote

http://www.gentooitalia.org/modules/wfsection/article.php?articleid=5

segui questa guida.. e fai i passi che ti mancano!
_________________
cache: a safe place for hiding or storing things..

D-link DWL-G650 AirPlus
Apache Php Mysql
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31585
Location: here

PostPosted: Mon Mar 14, 2005 5:55 pm    Post subject: Reply with quote

I passi corretti sono
Code:
 * vhosts USE flag not set - auto-installing using webapp-config
 * This is an installation
 * phpmyadmin-2.6.1_p2-r1 is not installed - using install mode
 * Running /usr/sbin/webapp-config -I -h localhost -u root -d /phpmyadmin phpmyadmin 2.6.1_p2-r1
^o^ hiding ./._cfg0002_config.inc.php
 *     phpmyadmin-2.6.1_p2-r1 does not install any files from
 *       /usr/share/webapps/phpmyadmin/2.6.1_p2-r1/hostroot

To complete installation, you must

1. Update MySQL's grant tables and the pmadb database:
     mysql -u root -p < /usr/share/webapps/phpmyadmin/2.6.1_p2-r1/sqlscripts/mysql/2.6.1_p2-r1_create.sql
2. Reload MySQL:
     /etc/init.d/mysql restart

If you are upgrading from an earlier version and are using phpMyAdmin's
features for master/foreign tables be sure to read
  http://localhost/phpmyadmin/Documentation.html#col_com
You will need to perform the ALTER TABLE step yourself.

Finally, point your browser to http://localhost/phpmyadmin/.

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
lkkzed
n00b
n00b


Joined: 03 Feb 2005
Posts: 43
Location: UE - Italy

PostPosted: Mon Mar 14, 2005 6:11 pm    Post subject: Reply with quote

Ragazzi ho risolto...
Bisonga cambiare nel file config.inc.php TUTTI i campi

$cfgServers[1]['user'] = 'root';
$cfgServers[1]['password'] = 'mia-password';

Questi 2 campi nel file config.inc.php si ripetono 3 volte, bisogna cambiarli tutti...

Grazie mille a tutti...:D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum