Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-14-2001, 02:37 PM
|
#1
|
Member
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270
Rep:
|
MySQL Installation
Hi guys
Recently I downloaded and installed Apache 1.3.20 and after posting a message on this forum have set it up to run from boot, thx again jharris.
I now plan to install MySQL 3.23.39 from source file but I have some questions that somebody hopefully can answer, so here goes.....
The instructions state to do the following...
shell> groupadd mysql
shell> useradd -g mysql mysql
shell> gunzip < mysql-VERSION.tar.gz | tar -xvf -
shell> cd mysql-VERSION
shell> ./configure --prefix=/usr/local/mysql
shell> make
shell> make install
shell> scripts/mysql_install_db
shell> chown -R root /usr/local/mysql
shell> chown -R mysql /usr/local/mysql/var
shell> chgrp -R mysql /usr/local/mysql
shell> cp support-files/my-medium.cnf /etc/my.cnf
shell> /usr/local/mysql/bin/safe_mysqld --user=mysql &
however it also states....
If you are using a recent version of gcc, recent enough to understand -fno-exceptions option, it is VERY IMPORTANT that you use it. Otherwise, you may compile a binary that crashes randomly. We also recommend that you use
-felide-contructors and -fno-rtti along with -fno-exceptions. When in doubt, do the following:
CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static
My question is this...
How do I know if I have a recent enough version, do I just run it and see, or will this cause problems? Also where do I place this line in the above instructions?? I guess I replace it with the 5th line, is this correct???
Second question....
The 1st,2nd,9th,10th and 11th lines setup the owners and groups, what do I need to put in here to be able to setup the database as root but allow other users to access the data???
Third question....
Has anybody used the other two types of tables, one of which is the Inno DB tables, and how do you rate them???
Ok I think thats enough questions for now or i,m gonna get a reputation for being a pain
Thx in advance for the replies
RecoilUK
p.s. I posted this message in the Installation forum first, but know I think it should be in this one,, sorry moderators for using extra resources and putting on duplicate entries
|
|
|
07-15-2001, 08:46 PM
|
#2
|
Member
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270
Original Poster
Rep:
|
No need to reply to this message, i,ve sorted it thx guys
|
|
|
All times are GMT -5. The time now is 01:33 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|