Error SUBPHASE 6.1 :creating the Mysql "asterisk "

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Error SUBPHASE 6.1 :creating the Mysql "asterisk "

Postby terrychen » Thu Nov 08, 2007 12:13 am

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
terrychen
 
Posts: 9
Joined: Mon Nov 05, 2007 4:34 pm

Postby ramindia » Thu Nov 08, 2007 12:19 am

Hi

MySQL_AST_CREATE_tables.sql


check the path of the file and replace the same

ram
Kindly post your feedback, if this solution works.
so its very usefull for others who join later as a NEWBIE.
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby terrychen » Thu Nov 08, 2007 12:43 am

OK
change to \. /usr/share/astgui.....................
Terry
terrychen
 
Posts: 9
Joined: Mon Nov 05, 2007 4:34 pm

Postby terrychen » Thu Nov 08, 2007 12:44 am

Dear Sir,
Thanks your quick reply , I find it and wirking ,,,,,Thanks
Terry
terrychen
 
Posts: 9
Joined: Mon Nov 05, 2007 4:34 pm

Postby s0lid » Thu Nov 08, 2007 2:13 am

Hi,

anyone can change the scratch install fomr /usr/src/to /usr/share? :) i think it's just typo error.
s0lid
 
Posts: 67
Joined: Thu Jun 15, 2006 3:32 pm
Location: Manila, Philippines

Postby terrychen » Thu Nov 08, 2007 6:59 am

\. /usr/share/astguiclient/MySQL_AST_CREATE_tables.sql

i change to this and can working
terrychen
 
Posts: 9
Joined: Mon Nov 05, 2007 4:34 pm

Postby mflorell » Thu Nov 08, 2007 12:53 pm

Thanks for posting. I will fix it in SVN
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: No registered users and 109 guests