Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Silent Install and command prompt

Status
Not open for further replies.

Fatih07

Programmer
Sep 13, 2008
1
TR
Hi,

i tried to install MySQL in silent mode but i can not start service. I get help from other comments but still does not working.

msiexec /i "MySQL_Setup.msi" /quiet INSTALLDIR="c:\MySQL" -- working and installing, its not creating DATA directory, i m creating manualy.

c:\MySQL\bin\mysqld --install MySQL --defaults-file="c:\my.ini"

my.ini include;
[mysqld]
basedir=C:/mysql
datadir=C:/mysql/data


until here works fine, no error. but when i try to start service;

>net start mysql
MySQL service starting...
MySQL server can not start...

1067 system error


--------------

when i check .err file it says;
c:\mysql\bin\mysqld.exe: Table 'mysql.plugin' doesn't exist
091016 17:27:24 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
InnoDB: The first specified data file .\ibdata1 did not exist:
InnoDB: a new database to be created!
...
...
...



i m running
>mysql_upgrade
Looking for 'mysql.exe' as: C:\MySQL\bin\mysql.exe
Looking for 'mysqlcheck.exe' as: C:\MySQL\bin\mysqlcheck.exe
Running 'mysqlcheck with default connection arguments
C:\MySQL\bin\mysqlcheck.exe: Got error: 2003: Can't connect to MySQL server o
localhost' (10061) when trying to connect
FATAL ERROR: Upgrade failed


---


i m also trying from -Manage computer-but it has same error.

i know that i m missing a point but i don't know what is it ? i tried few ways but didn't worked too.

If you have suggestions about this problem please let me know.

Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top