If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > [4.1.3] Linux i686 installation problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-20-04, 06:25
geoffrey geoffrey is offline
Registered User
 
Join Date: Jun 2004
Posts: 39
[4.1.3] Linux i686 source installation problem

Hi,

Is it a way to install MySQL on Linux i686 without having the root privileges ?

Geoffrey
__________________
geoffrey
- Four J's Development Tools -

Last edited by geoffrey; 08-24-04 at 09:05.
Reply With Quote
  #2 (permalink)  
Old 08-20-04, 08:55
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,609
I don't think that you can install the MySQL AB RPM packages without being root, because the RPM creates a mysql login account.

-PatP
Reply With Quote
  #3 (permalink)  
Old 08-20-04, 09:19
geoffrey geoffrey is offline
Registered User
 
Join Date: Jun 2004
Posts: 39
In fact the mysql user already exists (there are older MySQL release installed on the computer). I've tried a source install and for the moment, it seems to work
__________________
geoffrey
- Four J's Development Tools -
Reply With Quote
  #4 (permalink)  
Old 08-20-04, 09:25
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,609
Good deal! I've heard that it can be done, but I've never had to do it myself... I've always been root or had access to someone that could be root whenever I've needed root access.

-PatP
Reply With Quote
  #5 (permalink)  
Old 08-20-04, 09:30
geoffrey geoffrey is offline
Registered User
 
Join Date: Jun 2004
Posts: 39
Lucky you !

I've been told another solution that is to use the sudo command but the system administrator still have to configure the sudoers file so it's seemingly the same thing for him to install the database himself

Edit : question added
I've achieve to configure rightly the mysql.server script and the my.cnf files and can start and stop a server but there's still the first safe_mysql process who's running (the one it's asked to launch in the mysql documentation)
--> sh ./bin/mysqld_safe --no-default

And I don't know how to stop it. Is it a risk of using the kill command to stop the process ?
__________________
geoffrey
- Four J's Development Tools -

Last edited by geoffrey; 08-20-04 at 09:34.
Reply With Quote
  #6 (permalink)  
Old 08-20-04, 09:37
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,609
I don't know, but my gut feeling is that it may well be dangerous to just kill it. As long as you haven't entered any significant data, why not try it an see?

-PatP
Reply With Quote
  #7 (permalink)  
Old 08-20-04, 09:43
geoffrey geoffrey is offline
Registered User
 
Join Date: Jun 2004
Posts: 39
You are right, I'll try and tell you how it works for me.

Thx for your help
__________________
geoffrey
- Four J's Development Tools -
Reply With Quote
  #8 (permalink)  
Old 08-24-04, 09:10
geoffrey geoffrey is offline
Registered User
 
Join Date: Jun 2004
Posts: 39
I'm still trying to install the mysql 4.1.3-beta distribution and I get this error at the "make" execution after ./configure (with gcc 2.96) :
CFLAGS="-O3 -mpentiumpro" CXX=gcc CXXFLAGS="-O3 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti" ./configure --disable-shared --prefix=/dbs/mys/4.1.3 --enable-assembler --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static --with-extra-charsets=complex

Make error :
../libmysql/.libs/libmysqlclient.a(mf_tempfile.o): In function `create_temp_file
':
mf_tempfile.o(.text+0xf8): undefined reference to `mkstemp64'
collect2: ld returned 1 exit status
make[2]: *** [mysql] Erreur 1
make[1]: *** [all-recursive] Erreur 1
make: *** [all] Erreur 2

Does anyone have an idea ?

Thx
__________________
geoffrey
- Four J's Development Tools -

Last edited by geoffrey; 08-24-04 at 09:13.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On