View previous topic :: View next topic |
Author |
Message |
lkkzed n00b


Joined: 03 Feb 2005 Posts: 43 Location: UE - Italy
|
Posted: Mon Mar 14, 2005 5:08 pm Post subject: phpmyadmin? [Risolto!] |
|
|
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 |
|
 |
neryo Veteran


Joined: 09 Oct 2004 Posts: 1292 Location: Ferrara, Italy, Europe
|
Posted: Mon Mar 14, 2005 5:13 pm Post subject: |
|
|
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 |
|
 |
gutter Bodhisattva


Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Mon Mar 14, 2005 5:14 pm Post subject: |
|
|
Mi sembra che fosse spiegato cosa fare durante l'installazione. _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31585 Location: here
|
Posted: Mon Mar 14, 2005 5:19 pm Post subject: |
|
|
Prova a riemergiarlo e vedere che ti dice alla fine _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
lkkzed n00b


Joined: 03 Feb 2005 Posts: 43 Location: UE - Italy
|
Posted: Mon Mar 14, 2005 5:20 pm Post subject: |
|
|
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 |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31585 Location: here
|
Posted: Mon Mar 14, 2005 5:22 pm Post subject: |
|
|
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 |
|
 |
neryo Veteran


Joined: 09 Oct 2004 Posts: 1292 Location: Ferrara, Italy, Europe
|
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31585 Location: here
|
Posted: Mon Mar 14, 2005 5:55 pm Post subject: |
|
|
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 |
|
 |
lkkzed n00b


Joined: 03 Feb 2005 Posts: 43 Location: UE - Italy
|
Posted: Mon Mar 14, 2005 6:11 pm Post subject: |
|
|
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... |
|
Back to top |
|
 |
|