aspose file tools*
The moose likes JDBC and the fly likes mysql Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "mysql " Watch "mysql " New topic
Author

mysql

Lavanya Balaraman
Greenhorn

Joined: Feb 17, 2009
Posts: 10

Hi
please help me!

Thanks for your attention

I am trying to export mysql database from org.sql access is denied for odbc @localhost using the password yes
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Lavanya Balaraman wrote:

I am trying to export mysql database from org.sql access is denied for odbc @localhost using the password yes


What exactly you are trying to do ? Are you restoring database ? OR logging in MySQL admin? I faced this problem, when MySQL server instance is not running.


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Lavanya Balaraman
Greenhorn

Joined: Feb 17, 2009
Posts: 10
hi
thank you sagar

i am trying to restore the database which imported while i am trying this imported file to export in command prompt i got this error Access denied for odbc @localhost using password yes.
Lavanya Balaraman
Greenhorn

Joined: Feb 17, 2009
Posts: 10
HI
Sagar

And also mysql server is running
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Seems like 'odbc' in an user name you have. Can you login in MYSQL Administrator using "odbc" as username and with password ? If yes then, you might not have sufficient privilege to restore the database. One easy solution is, login with 'root' as a username and then restore database..
Lavanya Balaraman
Greenhorn

Joined: Feb 17, 2009
Posts: 10
HI
SAGAR

YES YOU ARE CORRECT

THANK YOU VERY MUCH
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Lavanya Balaraman wrote:HI
SAGAR

YES YOU ARE CORRECT

THANK YOU VERY MUCH


You're welcome
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: mysql