Bug #2028 | source compiles but does not run due to permissions problems | ||
---|---|---|---|
Submitted: | 5 Dec 2003 22:45 | Modified: | 5 Dec 2003 23:57 |
Reporter: | [ name withheld ] | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S2 (Serious) |
Version: | mysql-4.0.16 (Source distribution) | OS: | Linux (Linux first 2.4.19 i686) |
Assigned to: | CPU Architecture: | Any |
[5 Dec 2003 22:45]
[ name withheld ]
[5 Dec 2003 23:57]
Dean Ellis
The necessity of correctly setting ownership/permissions is well-documented in the installation chapters of the manual, so this truly is not a bug. Thank you
[6 Dec 2003 0:49]
[ name withheld ]
OK, if you feel this could be a feature request, I'd like it if you could make it one. I disagree that this is well treated by the installation manual, however. I did perform the steps listed there---the problem is that if a higher directory does not allow permisssions, the chmod's in the manual do not solve the problem. But this problem can probably be considered a special case of #2029. I'll mention that I gave up on putting things in the default of "/usr/local" and went with the "configure --prefix /usr/local/mysql" as the manual recommends. Things went much better when I did this. Thanks!
[4 Apr 2005 3:38]
[ name withheld ]
if this isn't a bug .... it sure is a recurring problem. Argue all you want but this is an Install package from MySQL.com's download page and when this problem comes up on a regular basis... well I'd call that a bug in the install package. I still haven't figured out how to set the premission, and i've spent days going through your manual with no success. thank you
[1 Aug 2005 16:51]
Jason Knight-Martin
Hi All; This is no-ones fault really. It is not a "bug", but an inconvience. In theory, if you are using a nix based system, you should know about permissions. I knew, I have had similar problems. But I still spent 20 minutes reading and checking the log file before the obvious hit me. There would be no need to change MYSQL code, or MYSQL Error messages, instead, a note could be added to the manual addressing said issue. It has, quite apparently become an issue...if not a bug. It is just a matter of conveince to MYSQL users, to mention a little more on permissions in the manual. Just my thoughts, but really MYSQL isn't at fault, it's we who made the mistake. Jason Knight-Martin
[4 Jan 2006 3:06]
[ name withheld ]
It would also be nice if at the end of all of this someone would have posted what the resolution to the problem is. I don't consider it a bug but it's obviously a pretty bad issue considering all the comments here and on the web concerning this issue. It's also odd that in previous biulds mysql created these items and gave them proper permission and now all of a sudden it does not anymore.
[12 Jan 2006 5:53]
Simon Rodan
I have to agree with ths comment that this is a problem if not structly a bug. mysql_install_db created the /usr/local/mysql/var directory and the scrips surely shold set the ownership and permission so that mysql starts without having to set both ownership and permissions. I took my a good 30 minutes to track this down (and quite frankly I have better thigs to do with my time). It may be a small thing but small things can be the most irritating... To reporduce this: - build from course as per the manual - run mysql_install_db Then: chown -R mysql /usr/local/mysql/var chmod -R 755l /usr/local/mysql/var now mysqld will run...
[12 Jan 2006 5:54]
Simon Rodan
Sorry for the typos and the prior post -- its late, and I'm tired..
[12 Jan 2006 6:25]
Simon Rodan
Mea culpa. As a last resort I read the manual rather than my old notes and the installation now works fine. My apologies. To paraphrase Salvor Hardin: "the manual is the last resort of the incompetent..."