Ciao a tutti, come potete vedere sono nuovo
Volevo installare drupal quindi ho scaricato il tutto assieme alla guida ed ho iniziato a seguirla MA mi sono perso alla creazione del DB Mysql, lo sto installando su Windows XP, cosa devo fare ???
GRAZIE ANTICIPATO
se usi easyPhp x eseguirlo in locale...avvialo e vai in cofigurazione->phpMyAdmin..da qui crea il database (come vedrai è molto intuitivo)...dopodiche esegui su questo db la query "database.sql" che trovi nella cartella drupal\database e il database è pronto....poi continua con la guida che è fatta bene....
spero di essere stato chiaro
P(x) "La differenza tra teoria e pratica....non esiste in teoria....ma esiste in PRATICA...."
Ciao, grazie per l'indicazione, ho creato il db e settato la database URL come segue: $db_url = 'mysql://root:@localhost/drupal';
poichè non ho impostato nè username nè password.
Collegandomi alla pagina iniziale di Drupal ottengo sì la pagina iniziale: "Welcome to your new Drupal-powered website. This message will guide you through your first steps with Drupal, and ...."
ma anche questo:
Notice: Undefined index: pass in c:\program files\easyphp1-7\www\drupal\includes\database.mysql.inc on line 31
la riga "incriminata" è la seguente:
$connection = mysql_connect($url['host'], $url['user'], $url['pass'], TRUE) or die(mysql_error());
Cosa significa???
Grazie e
E' un messaggio non tanto 'cristiano', ma Drupal sis aspetta una password (anche per ragioni di sicurezza).
Imposta una password per root e vedrai il problema scomparire...
Matteo
diciamo pure che x le prove in locale te ne puoi infischiare altamente....xo nel web è una cosa da pazzi!!:-D
P(x) "La differenza tra teoria e pratica....non esiste in teoria....ma esiste in PRATICA...."
Grazie ma come la creo una password per root ??? e come creo un altro utente ???
Dipende da quale client usi per parlare con MySQL.
Di solito hanno una serie di funzioni per aiutarti a scrivere il comando.
Il manuale MySQL dice:
5.6.5 Assigning Account Passwords
Passwords may be assigned from the command line by using the mysqladmin command:
shell> mysqladmin -u user_name -h host_name password "newpwd"
The account for which this command resets the password is the one with a user table record that matches user_name in the User column and the client host from which you connect in the Host column.
Another way to assign a password to an account is to issue a SET PASSWORD statement:
mysql> SET PASSWORD FOR 'jeffrey'@'%' = PASSWORD('biscuit');
Only users such as root with update access to the mysql database can change the password for other users. If you are not connected as an anonymous user, you can change your own password by omitting the FOR clause:
mysql> SET PASSWORD = PASSWORD('biscuit');
Matteo
Grazie ci proverò comunque io uso phpMyAdmin
se ti colleghi come root, esegui questo SQL...
SET PASSWORD = PASSWORD('biscuit');
Matteo