Page 1 of 1

Error SUBPHASE 6.1 :creating the Mysql "asterisk "

PostPosted: Thu Nov 08, 2007 12:13 am
by terrychen
mysql> create database asterisk;
Query OK, 1 row affected (0.00 sec)

mysql> GRANT SELECT,INSERT,UPDATE,DELETE on asterisk.* TO cron@'%' IDENTIFIED BY '1234';
Query OK, 0 rows affected (0.00 sec)

mysql> GRANT SELECT,INSERT,UPDATE,DELETE on asterisk.* TO cron@localhost IDENTIFIED BY '1234';
Query OK, 0 rows affected (0.00 sec)

mysql> use asterisk;
Database changed
mysql> \. /usr/src/astguiclient/MySQL_AST_CREATE_tables.sql
ERROR:
Failed to open file '/usr/src/astguiclient/MySQL_AST_CREATE_tables.sql', error: 2
mysql> \. /usr/src/astguiclient/trunk/extras/MySQL_AST_CREATE_tables.sql
ERROR:
Failed to open file '/usr/src/astguiclient/trunk/extras/MySQL_AST_CREATE_tables.sql', error: 2
]

Anyone can help me ?thanks
Terry

PostPosted: Thu Nov 08, 2007 12:19 am
by ramindia
Hi

MySQL_AST_CREATE_tables.sql


check the path of the file and replace the same

ram

PostPosted: Thu Nov 08, 2007 12:43 am
by terrychen
OK
change to \. /usr/share/astgui.....................
Terry

PostPosted: Thu Nov 08, 2007 12:44 am
by terrychen
Dear Sir,
Thanks your quick reply , I find it and wirking ,,,,,Thanks
Terry

PostPosted: Thu Nov 08, 2007 2:13 am
by s0lid
Hi,

anyone can change the scratch install fomr /usr/src/to /usr/share? :) i think it's just typo error.

PostPosted: Thu Nov 08, 2007 6:59 am
by terrychen
\. /usr/share/astguiclient/MySQL_AST_CREATE_tables.sql

i change to this and can working

PostPosted: Thu Nov 08, 2007 12:53 pm
by mflorell
Thanks for posting. I will fix it in SVN