Tienes que ponerla en los 2 sitios.
2007/9/6, Arturo Miranda Vera <mv.arturo(a)hotmail.com>om>:
Como estan, espero me ayuden. He instalado el OpenSER y MySQl , al momento
de ejecutar el
openser_mysql.sh me salen varias opciones. Para crear la base de datos
ejecute el openser_mysql.sh create me pide password, la clave tengo que
ingresar es el de root? . aca les envio los pasos que hice : cuando puse la
clave de root me sales los erroresmostrados mas abajo
voip:/etc/openser # openser_mysql.sh
usage:openser_mysql.sh create
openser_mysql.sh drop (!!entirely deletes tables)
openser_mysql.sh reinit (!!entirely deletes and than re-creates
tables
openser_mysql.sh backup (dumps current database to stdout)
openser_mysql.sh restore <file> (restores tables from a file)
openser_mysql.sh copy <new_db> (creates a new db from an existing
one)
openser_mysql.sh migrate <old_db> <new_db> (migrates DB from 1.1 to
1.2)
openser_mysql.sh presence (adds the presence related tables)
openser_mysql.sh extra (adds the extra tables -
imc,cpl,siptrace,domainpolicy)
openser_mysql.sh serweb (adds the SERWEB specific tables)
if you want to manipulate database as other MySQL user than
root, want to change database name from default value "openser",
or want to use other values for users and password, edit the
"config vars" section of the command openser_mysql.sh
voip:/etc/openser # openser_mysql.sh create
MySQL password for root: #ACA SOLO HICE ENTER
Enter password: #ACA PUSE LA CLAVE DE ROOT
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
password: YES)
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
password: YES)
Modo de empleo: grep [OPCIÓN]... PATRÓN [FICHERO]...
Pruebe `grep --help' para más información.
/sbin/openser_mysql.sh: line 259: [: =: unary operator expected
creating database openser ...
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check
the manual that corresponds to your MySQL server version for the right
syntax to use near '' at line 1
Creating core tables failed!
voip:/etc/openser #
La Distribucion que estoy utilizando es suse 10.2
Espero sus respuestas. Gracias
Saludos
Arturo
________________________________
Explore the seven wonders of the world Learn more!
_______________________________________________
Users-es mailing list
Users-es(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users-es
--
Saúl -- "Some people say why, other just say, why not."
----------------------------------------------------------------
http://www.saghul.net/