Mihail Stoynov's blog!
Surrender your ego
Monday, July 14, 2008
MySQL, I hate you so much [Installing mysql as a service]
The first idea was to have the DB (MySQL) start as part of the script that launched the tests. Google couldn't find anything good. MySQL is one of the most unintuitive things I have ever seen, so the decision was to not try to figure it out on my own.
The next thing was to install MySQL as a service. That turned out to be difficult.
I tried to install MySQL as a service:
/>mysqld --install
As easy as that. The problem is
IT DID NOT WORK
. The service did not want to start.
After some reading it came out that the
RIGHT
way was to do it like that:
__correct dir__/><<path>>\mysqld.exe --install MySQL --defaults-file="<<path>>\my.ini"
Why do I have to supply the mysql directory explicitly?
Why do I have to supply the my.ini directory explicitly?
Why doesn't mysqld give me an error message when I install it without the needed parameters?
Why doesn't mysqld give me an error message when I install it without the needed explicit paths?
...is beyond my inderstanding.
MySQL, you are a disgrace.
MySQL, not only are you
not
a
real
RDBMS but you can't even start without making your users' life misserable.
Sucks
Comments [0]
|
Trackback
OpenID
Please login with either your
OpenID
above, or your details below.
Name
E-mail
(will show your
gravatar
icon)
Home page
Remember Me
Comment (Some html is allowed:
a@href@title, blockquote@cite, strike
) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.
Enter the code shown (prevents robots):
Live Comment Preview
dasBlog theme by
Mads Kristensen
RSS feed
Search
Archives
November, 2008 (15)
October, 2008 (16)
September, 2008 (30)
August, 2008 (15)
July, 2008 (14)
June, 2008 (26)
May, 2008 (6)
April, 2008 (21)
March, 2008 (14)
February, 2008 (28)
November, 2007 (5)
October, 2007 (7)
September, 2007 (1)
August, 2007 (7)
July, 2007 (3)
June, 2007 (1)
Blog Stats
Total Posts: 203
This Year: 179
This Month: 0
This Week: 0
Comments: 80
Categories
Did you know
Java
rulez
Sucks
БГ
Blogroll
Michael Moore (no rss)
Links
BG-JUG
Copyright policy
No rights reserved.
(You are going to
copy stuff anyway :)
If you mention my
name, thank you.
2008, Mihail Stoynov