Joinutility seperatorLogin utility separator Infobright.com
   
 
Cannot access MySQL database from MySQL client
Posted: 03 August 2009 07:09 AM   Ignore ]  
Newbie
Rank
Total Posts:  2
Joined  2009-08-03

Hi,

I’ve downloaded ICE/Jaspersoft VM and able to access Jaspersoft application. However, I cannot able to access MySQL database from MySQL client.

Please help….

Regards,
Saibala

Profile
 
Posted: 03 August 2009 10:40 AM   Ignore ]   [ # 1 ]  
Sr. Member
Avatar
RankRankRankRank
Total Posts:  738
Joined  2008-08-18

Saibala,

The recommended method to access the mysql client in the Infobright distribution is with the script, mysql-ib, found in /usr/bin.

Best regards,

Signature 
Profile
 
Posted: 03 August 2009 11:26 AM   Ignore ]   [ # 2 ]  
Newbie
Rank
Total Posts:  2
Joined  2009-08-03

Thanks David!

I can able to access it with mysql-ib. However, I want to know is there any other ways to do it via GUI.

Best Regards,
Saibala

Profile
 
Posted: 03 August 2009 02:13 PM   Ignore ]   [ # 3 ]  
Sr. Member
Avatar
RankRankRankRank
Total Posts:  738
Joined  2008-08-18

saibala,

Good questions!  Let’s begin with the understanding that Infobright is running in a VM with no GUI interface installed.  The VM (guest system) is running on your desktop (the host system).  You can access Infobright in the guest system from GUI tools in your host system by supplying the correct connection parameters in the tool you choose to use.  These parameters include the hostname, port number, user name, password and schema name.  You can supply the IP address of your VM as the hostname. 

The IP address of the VM can be found by running the ‘ifconfig’ command at the VM’s Ubuntu command line (see README file supplied with the Jaspersoft/Infobright VM download).  The default port number is 3306 and the schema name is foodmart (for Jaspersoft - sampledata for Pentaho).

To determine user name and password you will either need to create a new user in MySQL (see MySQL’s web site here for instructions on adding users) or grant external access privileges to an existing user such as root.

One can view all Users by:

mysql> use mysql;
mysqlselect HostUser from User

For example, grant root access to everything from any location:

mysqlgrant all privileges on *.* to root@'%' identified by '<password>'

Tools I use include MySQL Query Browser and Navicat Lite, without any ODBC driver or other installed connectivity software.

Best of luck!

Signature 
Profile
 
Posted: 25 February 2010 01:27 PM   Ignore ]   [ # 4 ]  
Newbie
Rank
Total Posts:  2
Joined  2010-02-17

Hi there,

I’m having similar troubles.

I have setup the VM (I actually have it running under KVM and not VMware - have done a lot of VM conversions in the past and it seems to be working fine) and configured to be part of our internal LAN. I’m trying to access the database via MySQL Query Browser with the following details:

Host: ess-ice (We have internal DNS and this resolves to the correct machine)
Username: root
Password: [I’ve changed this on the VM via the command line]

I keep getting access denied 1045 errors.

This is the output from SELECT Host, User, Password FROM user;

+—————-+—————+—————————————————————-+
| Host     | User   | Password                       |
+—————-+—————+—————————————————————-+
| localhost | root   | *836D055C19AC977749F80EFBBE824F26F1E0A282 |
| ice32   | root   | *836D055C19AC977749F80EFBBE824F26F1E0A282 |
| ice32   |      |                            |
| localhost |      |                            |
| %      | chris   | *E7D68535F002A468541CC999CD72653816007855 |
| %      | jasperdb | *2470C0C06DEE42FD1618BB99005ADCA2EC9D1E19 |
| localhost | jasperdb | *2470C0C06DEE42FD1618BB99005ADCA2EC9D1E19 |
| %      | root   | *836D055C19AC977749F80EFBBE824F26F1E0A282 |
+—————-+—————+—————————————————————-+
8 rows in set (0.00 sec)


I thought the last entry would give me access using the root acccount.

Any help much appreciated.

Chris.

Profile
 
Posted: 25 February 2010 02:03 PM   Ignore ]   [ # 5 ]  
Newbie
Rank
Total Posts:  2
Joined  2010-02-17

Hi,

Apologies, things are working ok now - I’d missed the fact that mysql-ib is running on port 5029. Doh!

c:)

Profile
 
   
 
 
     Cannot acces Jaspersoft ››