Jump to content
We've recently updated our Privacy Statement, available here ×

How do I access the mysql database underneath jasperserver?


itchytoes

Recommended Posts

Hi --

This is probably a silly question, but how do I access the underlying mysql database?

I want to be able to back it up and restore.

I can type mysql --socket=/home..../jasperserver400/mysql/tmp/mysql.sock and get into mysql, but I don't see any jasperserver database there when I type "show databases"

Do I have to be a particular user?

 

Thanks

 

Betty

 

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

I have no trouble connecting to the the mysql server just running mysql client, but when I type "show databases" I don't see the jasperserver database.

I'm just wondering what I'm missing as far as any command line options to connect to the mysql database server

Also, what user do I run mysql as?  In other words do I need mysql -u option?  I've tried root and that does not connect.

I'm using the bundled mysql,  and I see that login and password is jasperdb/password, but that does not connect either

If I leave -u out, it connects, but I don't see the databases.

 

I see the database in the 'datadir' folder as specified in the my.conf file

 

Thanks

Betty



Post Edited by itchytoes at 05/31/2011 18:13



Post Edited by itchytoes at 05/31/2011 18:21
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...