Non sei ancora registrato? Puoi farlo adesso!.
Come utente registrato avrai diversi vantaggi come la gestione dei temi grafici, la possibilità di inviare notizie e commenti.
Oggetto: [MDPro] Problemi d'installazione in locale
Ciao a tutti e scusate il disturbo
Ho scaricato ieri mdpro ma purtroppo ho questi problemini che spero voi sappiate risolvere
Ho provsto a leggere nel forum ma non ho trovato risposta
Codice:
Warning: mysql_pconnect() [function.mysql-pconnect]: Accesso non consentito per l'utente: 'root'@'localhost' (Password: NO) in C:\Programmi\EasyPHP 3.0\www\md-pro\install\newinstall.php on line 48
Warning: mysql_query() [function.mysql-query]: Accesso non consentito per l'utente: 'ODBC'@'localhost' (Password: NO) in C:\Programmi\EasyPHP 3.0\www\md-pro\install\newinstall.php on line 49
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\Programmi\EasyPHP 3.0\www\md-pro\install\newinstall.php on line 49
Grazie a tutti e specialmente a Cradle che mi ha rimandato alla guida che avevo letto ma dove non ho ancora trovato le risposte alle mie domande
Cmq ho rinstallato tutto mi ha dato 2 errori in fase di installazione uno sull'arry un'alto su .htacc o cosa del genere io sono andaro avanti e pare che ora tutto funzioni vediamo il proseguio
Oggetto: Re: Nuovo ed inesperto - Problemi d'installazione
marmerio ha scritto:
Ciao a tutti e scusate il disturbo
Ho scaricato ieri mdpro ma purtroppo ho questi problemini che spero voi sappiate risolvere
Ho provsto a leggere nel forum ma non ho trovato risposta
Warning: mysql_pconnect() [function.mysql-pconnect]: Accesso non consentito per l'utente: 'root'@'localhost' (Password: NO) in C:\Programmi\EasyPHP 3.0\www\md-pro\install\newinstall.php on line 48
Warning: mysql_query() [function.mysql-query]: Accesso non consentito per l'utente: 'ODBC'@'localhost' (Password: NO) in C:\Programmi\EasyPHP 3.0\www\md-pro\install\newinstall.php on line 49
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\Programmi\EasyPHP 3.0\www\md-pro\install\newinstall.php on line 49
Non posso creare il database: mdpro
Eccoti la risposta alle tue domande. Il tutorial che ti ho proposto cerca di sponare all' utilizzo di wampserver, in ogni caso il problema che tu hai evidenziato risiede nel fatto che i super cervelloni di easyphp, nella versione 3, hanno impostato la password per l'accesso al database. La password da usare e' mysql. Non ho letto nel loro sito se avessero o meno specificato questa aggiunta, ma non serviva, il messaggio d'errore era eloquente, ti chiedeva la password d'accesso al database che io ho trovato nel nel my.ini della configurazione di easyphp.
:
command line shell, e.g.
# mysqld --defaults-file="C:\Program Files\MySQL\MySQL Server X.Y\my.ini"
#
# To install the server as a Windows service manually, execute this in a
# command line shell, e.g.
# mysqld --install MySQLXY --defaults-file="C:\Program Files\MySQL\MySQL Server X.Y\my.ini"
#
# And then execute this in a command line shell to start the server, e.g.
# net start MySQLXY
#
#
# Guildlines for editing this file
# ----------------------------------------------------------------------
#
# In this file, you can use all long options that the program supports.
# If you want to know the options a program supports, start the program
# with the "--help" option.
#
# More detailed information about the individual options can also be
# found in the manual.
#
#
# CLIENT SECTION
# ----------------------------------------------------------------------
#
# The following options will be read by MySQL client applications.
# Note that only client applications shipped by MySQL are guaranteed
# to read this section. If you want your own MySQL client program to
# honor these values, you need to specify it as an option during the
# MySQL client library initialization.
#
[client]
password=mysql
port=33063
Quindi questo significa che quando ti vengono chiesti i parametri per l'accesso al database, nel campo Password database: dovrai inserire mysql.
Il consiglio rimane sempre lo stesso e cioè quello di utilizzare wampserver. Per un installazione senza notice e warning abilita register_long_array e disabilita display_error. Per farlo in wampserver basta il mouse,( leggi la guida che ti ho linkato) tasto desto disabilita tasto sinistro abilita. In easyphp bisogna editare il php.ini