The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Errors while executing cmds in sun solaris dbsurf Shell Programming and Scripting 1 06-25-2008 03:30 AM
avoid displaying errors while executing a script vikas027 Shell Programming and Scripting 4 10-29-2007 10:41 AM
Witch OS you will use in a web server(PHP+MySQL)? BSDVirus UNIX for Dummies Questions & Answers 0 08-06-2007 02:44 AM
What's the difference: 'nuhup cmds' Vs 'cmds &' billshu SUN Solaris 5 05-12-2004 08:01 PM
Errors while executing a.out nirthana High Level Programming 1 06-05-2003 12:05 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-25-2008
Registered User
 

Join Date: Jan 2008
Posts: 21
Errors while executing mysql cmds in SUn solaris server

Hi All,

I am using mysql at sun solaris unix(Hp) server. I logged into mysql server with root as user. its logged in properly. Then i used 'show databases' mysql command. its display all the available databases.

for example
mysql > show databases;
It displayed as follows.

exampledb1
exampledb2
mysql
test

Now i used mysql > use exampledb1;
its given message called database changed.

now i trying to show all the tables under exampledb1 database using the below command.

mysql > show tables;

Now i am getting one error called

ERROR 12: Can't read dir of './exampledb1/' (Errcode: 13)

then i tried to drop the exampledb1 database using the below command.

mysql> drop database exampledb1;

Now i am getting different error.

ERROR 1008: Can't drop database 'exampledb1'. Database doesn't exist

can you please give me solutions for the above errors?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 06-25-2008
Registered User
 

Join Date: Apr 2008
Location: KL, Malaysia
Posts: 3
Wink Errors while executing mysql cmds in SUn solaris server

Hi,

Thing is, you're logged in a ROOT. I'm not 100% sure about this but my guess is that you should try login as the DB user instead?.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:03 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0