Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62603 - mysql my.cnf generate error
Summary: mysql my.cnf generate error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-02 03:10 UTC by Antonio
Modified: 2004-09-06 19:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio 2004-09-02 03:10:12 UTC
If i copy /etc/mysql/my.cnf on /var/lib/mysql and i trie to start mysql server appear this error:

gentoonet mysql # /etc/init.d/mysql start
/sbin/runscript.sh: line 18: [: /var/lib/mysql: binary operator expected
 * Starting mysqld...

Extract for my.cnf:

# This file can be simultaneously placed in three places:
# 1. /etc/mysql/my.cnf to set global options.
# 2. /var/lib/mysql/my.cnf to set server-specific options.   <----------- ???
# 3. ~/.my.cnf to set user-specific options.
#
# One can use all long options that the program supports.
# Run the program with --help to get a list of them.
#
# The following values assume you have at least 32M RAM!

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-09-06 19:02:16 UTC
fixed in cvs, no version bump. You can copy files/mysql-4.0.15.rc6 from the mysql dir in portage to /etc/init.d/mysql or just emerge mysql again.