Windows Installer 0.8.8b MySQL error

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
huntun
Posts: 2
Joined: Fri Sep 12, 2014 9:38 am

Windows Installer 0.8.8b MySQL error

Post by huntun »

Hello,
Running under mswin 7 ultimate, all works fine 'till mysql part.

-----------------------------------------------------------------------------------------------
Output folder: C:\Users\Admin\AppData\Local\Temp\nsa70AD.tmp
Installing MySQL Installer...
Extract: mysql.msi
Execute: msiexec /i "C:\Users\Admin\AppData\Local\Temp\nsa70AD.tmp\mysql.msi" /qn USERNAME="Valued Cacti Customer"
MySQL installer exited with: 0
Installing MySQL 5.6.17.0...
Loading Installer Configuration.
Loading Product Manifest. This may take some time.

Config value existingpasswd was not supplied but an existing data directory was found

Usage: --config=<Product Name>:<passwd=Root Password>[;Parameter 1 = value][;Parameter 2 = value]

e.g. MySQLInstallerConsole --config=mysql-server-5.5-win32:passwd=root;timeout=300 --action=install --type=Full
e.g. MySQLInstallerConsole --config=mysql-server-5.5-win32:passwd=root;autostartservice=false;openfirewall=true;port=3307;generallog=true;generallogname=MYLOG.log;slowlog=true;slowlogname=MySlowLog.log;binlog=true;binlogname=BIN-LOG;errorlogname=ErrorLog.log --action=install --product=mysql-server-5.5-win32:*
-?, --help, -h Display help for MySQLInstaller console options.
-u, --updates Checks for new products before any action.
Skipped by default.
--nowait Skip the final pause when the program finishes.
-c, --catalog=VALUE Set default catalog.
-t, --type=VALUE [developer|server|client|full|custom] Set
installation type.
--action=VALUE [install|remove|upgrade|list|status] Set
Performing action.
-p, --product[=VALUE1:VALUE2]
product_name[:feature1;feature2] Specify product
and optionally specific features.
--config=VALUE1:VALUE2 product_name:param1=value[;param2=value]
Configuration parameters for most recently
listed product.
--user=VALUE1:VALUE2 product_name:name;host;role;[password|tokens]
Creates a new user.
--mos=VALUE user=username;pass=password Login to mos to
download commercial product updates.

Configuring MySQL...
* FATAL ERROR *
Error reading MySQL install location
-----------------------------------------------------------------------------------------------

can anyone tell me how to fix it? everything else looks allright but cacti is not running, reporting mysql error - no localhost found/server not running (no wonder). also - funny bit - windows is reporting wrong password on entry :)
should I do it manually? any important points for me to remember?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Windows Installer 0.8.8b MySQL error

Post by BSOD2600 »

did you previously have mysql installed? If so, the old config files (which include the password) remain, which is why the new MySQL installer failed. remove the old files (typically in c:\programdata\mysql\) and run the cacti installer again.
huntun
Posts: 2
Joined: Fri Sep 12, 2014 9:38 am

Re: Windows Installer 0.8.8b MySQL error

Post by huntun »

might be... to be sure I started from the scratch.
still - same type of error, but mysql started properly. I had to install all components manually, used proper passwords and names. at the end I changed mentioned fields in php.ini. should be allright, but now I cannot connect to localhost/cacti.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Windows Installer 0.8.8b MySQL error

Post by BSOD2600 »

Now you really broke it :P

did you follow the installation guide http://docs.cacti.net/ when manually installing? IMO, really would be easier to have the CActi installer do it all for you since there are little nuances which are often missed when performed manually.
shidow
Posts: 1
Joined: Wed Sep 24, 2014 12:31 am

Re: Windows Installer 0.8.8b MySQL error

Post by shidow »

sorry for bumping this .

I have some problem with MySQL Installer .

Output folder: C:\Users\ADMINI~1.SER\AppData\Local\Temp\2\nswDD83.tmp
Installing MySQL Installer...
Extract: mysql.msi
Execute: msiexec /i "C:\Users\ADMINI~1.SER\AppData\Local\Temp\2\nswDD83.tmp\mysql.msi" /qn USERNAME="Valued Cacti Customer"
MySQL installer exited with: 0
Installing MySQL 5.6.17.0...
Loading Installer Configuration.
Loading Product Manifest. This may take some time.

Config value existingpasswd was not supplied but an existing data directory was found

Usage: --config=<Product Name>:<passwd=Root Password>[;Parameter 1 = value][;Parameter 2 = value]

e.g. MySQLInstallerConsole --config=mysql-server-5.5-win32:passwd=root;timeout=300 --action=install --type=Full
e.g. MySQLInstallerConsole --config=mysql-server-5.5-win32:passwd=root;autostartservice=false;openfirewall=true;port=3307;generallog=true;generallogname=MYLOG.log;slowlog=true;slowlogname=MySlowLog.log;binlog=true;binlogname=BIN-LOG;errorlogname=ErrorLog.log --action=install --product=mysql-server-5.5-win32:*
-?, --help, -h Display help for MySQLInstaller console options.
-u, --updates Checks for new products before any action.
Skipped by default.
--nowait Skip the final pause when the program finishes.
-c, --catalog=VALUE Set default catalog.
-t, --type=VALUE [developer|server|client|full|custom] Set
installation type.
--action=VALUE [install|remove|upgrade|list|status] Set
Performing action.
-p, --product[=VALUE1:VALUE2]
product_name[:feature1;feature2] Specify product
and optionally specific features.
--config=VALUE1:VALUE2 product_name:param1=value[;param2=value]
Configuration parameters for most recently
listed product.
--user=VALUE1:VALUE2 product_name:name;host;role;[password|tokens]
Creates a new user.
--mos=VALUE user=username;pass=password Login to mos to
download commercial product updates.

Configuring MySQL...
* FATAL ERROR *
Error reading MySQL install location
-----------------------------------------------------------------------------------------------
Finishing up...
Created uninstaller: C:\Windows\cacti_uninstall.exe

=================================================================================================
and after I uninstall the Mysql there are notification cant load product manifest ..

please help :)
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Windows Installer 0.8.8b MySQL error

Post by BSOD2600 »

Since you hijacked the thread, the same questions and troubleshooting steps apply to you.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests