MySQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMySQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old December 1st, 2004, 10:55 AM
Kalebodur Kalebodur is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 1 Kalebodur User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Pls help: MySQL installation without root permission

Hi,

is it possible to install RPM or binary files (whats the hell are the differences between them?) on a different directory (not into the standart /usr/local...) to a directory on a shared hosting without having root permission?
So i want specially install it on my directory, where i my website is hosted by a hosting firm. Shell access is given but only user permissions, not root.
Is it possible and what kind of file do i have to install from mysql.com?

My hosting firm has hosted package including mysql databases and i have paid for it. But after a week they limited the query limit to 3600 query in a hour. This restriction is definitely to low.
They wont change it and so i have to go my way.

I have installed it but when i change the configure files with this command line:

./configure --with-tcp-port=3309 --with-unix-socket-path=/www/mysite/htdocs/mysql/mysqls/tmp/mysql.sock --prefix=/www/mysite/htdocs/mysql/mysqls

i get such error:

Code:
  NOTE: This is a MySQL binary distribution. It's ready to run, you don't
    need to configure it!
    
    To help you a bit, I am now going to create the needed MySQL databases
    and start the MySQL server for you.  If you run into any trouble, please
    consult the MySQL manual, that you can find in the Docs directory.
    
    Installing all prepared tables
    Fill help tables
    
    To start mysqld at boot time you have to copy support-files/mysql.server
    to the right place for your system
    
    PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
    To do so, start the server, then issue the following commands:
    ./bin/mysqladmin -u root password 'new-password'
    ./bin/mysqladmin -u root -h toptip password 'new-password'
    See the manual for more instructions.
    
    NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run
    the ./bin/mysql_fix_privilege_tables. Otherwise you will not be
    able to use the new GRANT command!
    
    You can start the MySQL daemon with:
    cd . ; ./bin/mysqld_safe &
    
    You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
    cd sql-bench ; perl run-all-tests
    
    Please report any problems with the ./bin/mysqlbug script!
    
    The latest information about MySQL is available on the web at
    http://www.mysql.com
    Support MySQL by buying support/licenses at https://order.mysql.com
    Starting the mysqld server.  You can test that it is up and running
    with the command:
    ./bin/mysqladmin version
                 041201 17:32:22 [Warning] Asked for 196608 thread stack, but got 126976
    041201 17:32:22 [Warning] Asked for 196608 thread stack, but got 126976


And if i want to start with:
Code:
cd . ; ./bin/mysqld_safe &

this error comes up:
Code:
     Starting mysqld daemon with databases from /www/mysite/htdocs/mysql/mysqls/data STOPPING server from pid file /www/mysite/htdocs/mysql/mysqls/data/hosting.pid 041201 17:55:53  mysqld ended


I'm waiting for helpful assistance.
Thanks

Reply With Quote
  #2  
Old December 10th, 2004, 05:38 AM
Angela Angela is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Location: Netherlands
Posts: 11 Angela User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Check the user rights for the directory you are in.
The directory should be owned (or have rights for) your mysql user and/or group
possibly even your own user.
Try to change the ownership to mysql. That usually helps.

Reply With Quote
  #3  
Old December 10th, 2004, 08:08 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
You likely can't run the RPM as the RPM usually tries to create accounts and use admin commands...
You could try installing from source perhaps? But some systems might not allow running a daemon from your home directory.

It might be easier to have your system administrator do it for you
[in other words, just get root access]

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMySQL Development > Pls help: MySQL installation without root permission


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway