Results 1 to 4 of 4
Hi,
Can some one tell why the file is failed to open?
Code:
mysql> \. /home/Scripts/Log/42.sql
ERROR:
Failed to open file 'home/Scripts/Log/42.sql', error: 2
mysql>...
- 01-31-2008 #1Just Joined!
- Join Date
- Dec 2007
- Location
- chennai-TN,India
- Posts
- 42
Failed to open file 'home/Scripts/Log/42.sql', error: 2
Hi,
Can some one tell why the file is failed to open?
Code:mysql> \. /home/Scripts/Log/42.sql ERROR: Failed to open file 'home/Scripts/Log/42.sql', error: 2 mysql>
- 02-04-2008 #2Just Joined!
- Join Date
- Dec 2007
- Location
- chennai-TN,India
- Posts
- 42
I even checked the permission for that file in that folder
Code:myserver:/home # l -lrth drwxrwxrwx 3 root root 4.0K 2008-02-04 09:29 Scripts/
I even have full rights to access the folder and the sub-folderCode:myserver:/home # cd /home/Scripts/ myserver:/home/Scripts/ # l -lrth drwxrwxrwx 3 root root 4.0K 2008-02-04 09:29 Log/
But when i execute a DB Script file,
But When i copy the same file to the home and tried,Code:mysql> \. /home/Scripts/Log/42.sql ERROR: Failed to open file 'home/Scripts/Log/42.sql', error: 2 mysql>
I could not understand the Issue here?Code:myserver:/home/Scripts/Log # 42.sql /home/ mysql> \. /home/42.sql Executed Successfully !!!!!!!
Some one here can help me ?
- 02-06-2008 #3Just Joined!
- Join Date
- Dec 2007
- Location
- chennai-TN,India
- Posts
- 42
Some one here to help me ?
- 02-07-2008 #4Just Joined!
- Join Date
- Dec 2007
- Location
- chennai-TN,India
- Posts
- 42
Got the solution,
But this is an alternative one,
Thanks for all.Code:mysql> SOURCE /home/Scripts/Log/42.sql Executed Successfully !!!!! mysql>


Reply With Quote