Network Management

 View Only
last person joined: 6 hours ago 

Keep an informative eye on your network with HPE Aruba Networking network management solutions
Expand all | Collapse all

[IMC 7.0] +MySQL: "Database or database client is not installed on this computer"

This thread has been viewed 0 times
  • 1.  [IMC 7.0] +MySQL: "Database or database client is not installed on this computer"

    Posted Oct 11, 2013 06:25 AM
      |   view attached

    Hello,

     

    so I want to setup IMC 7.0 standard

     

    • on Windows server 2012
    • with MySQL 5.6 community edition installed and configured
    • path to bin directory of mysql 5.6 set

    but install.bat always gives

     

    Start checking installation environments...
    Checking ports occupied... Passed
    Checking physical memory size... Passed
    Checking database installation...
    Database or database client is not installed on this computer. Checking prerequisites for embedded database...

     When I "cmd" and exec mysql it works. But that installer simply doesn´t find anything. So, I´m actually doing something wrong... What i being checked by the installer? Can that script be edited?


    #mysql


  • 2.  RE: [IMC 7.0] +MySQL: "Database or database client is not installed on this computer"

    Posted Oct 11, 2013 07:51 PM

    So you've got MySQL installed on the same server as IMC?

     

    There should be some other logs created during installation - do you see any other error messages other than those given? Usually it will tell you the name of the log file to check.



  • 3.  RE: [IMC 7.0] +MySQL: "Database or database client is not installed on this computer"

    Posted Oct 16, 2013 09:45 AM

    Indeed, the MySQL is installed on the same server as IMC. There´s no other (error) message. Where are the log files of the setup process stored?

     

     

    According to "HP IMC Centralized Deployment Guide with Local Database"

    To check the IMC installation environments:
    1. Copy the tool (envcheck.bat for Windows, envcheck.sh for Linux) from the tools folder to the install folder of the IMC installation package.

     

    Well, there´s no "envcheck.bat" within the installation package...?



  • 4.  RE: [IMC 7.0] +MySQL: "Database or database client is not installed on this computer"

    Posted Oct 17, 2013 04:14 AM

    MichaelM55 wrote: 

    Well, there´s no "envcheck.bat" within the installation package...?


    The envcheck.zip file used to be in windows\tools - not sure what's happened to it now.

     

    This is the contents of the file:

    @echo off
    set CURRENT_DIR=%~dp0
    set JAVA_HOME=%CURRENT_DIR%common\jre_windows
    if not "%INSTALL_LANG%" == "" goto LANG_SET
    set INSTALL_LANG=en_US
    :LANG_SET
    set JAVA_OPTS=-Dinstaller.dir="%CURRENT_DIR%." -DsupportedLocales="%INSTALL_LANG%" -Dedition=PROFESSIONAL -Dcompany.flag=HP -D3CProductNumber=JF378A
    set JAVA_CLASSPATH=%CURRENT_DIR%common\deploy.jar
    set MAIN_CLASS=com.h3c.imc.deploy.EnvChecker
    
    "%JAVA_HOME%\bin\javaw.exe" %JAVA_OPTS% -cp "%JAVA_CLASSPATH%" "%MAIN_CLASS%"

     You could probably try running that from the windows\install directory, since deploy.jar is still there in windows\install\common\



  • 5.  RE: [IMC 7.0] +MySQL: "Database or database client is not installed on this computer"

    Posted Oct 17, 2013 04:14 AM
    Oh and I'm not sure of the exact location of the logs - but look for recently modified files in C:\Program Files\IMC


  • 6.  RE: [IMC 7.0] +MySQL: "Database or database client is not installed on this computer"

    Posted Oct 19, 2013 01:59 AM

    Your reply is empty. Did something go wrong with posting?



  • 7.  RE: [IMC 7.0] +MySQL: "Database or database client is not installed on this computer"

    Posted Oct 19, 2013 02:55 PM

    Strange...

    Back to topic. Is it possible to change the database after installation? So changing from Microsoft SQL Express to MySQL?



  • 8.  RE: [IMC 7.0] +MySQL: "Database or database client is not installed on this computer"

    Posted Oct 20, 2013 01:43 AM

    You might be able to do it using restore + backup, but I haven't seen any 'officially' documented methods of doing so.

     

    It's not something I would want to plan on doing. 

     

    If you're trashing all your performance data anyway, why not just rebuild the entire system, rather than planning on moving the database?