visitor (0 QPoints)
  • FR
  • EN
  • NL
  • DE
  • ES
315 experts, 1193 registered users, 1659 questions already answered
European Experts Exchange, the very best site for high-quality IT solutions

New Improved Search!

 


05/10/2011 1h30 : Steve Jobs is dead, the father of Apple ][ is gone, we are all orphaned.

Databases :: MySql :: problems with installing mysql on Linux cluster


By: Squibi U.S.A.  Date: 30/04/2003 00:00:00  English  Points: 20 Status: Answered
Quality : Excellent
I downloaded the MySql 3.23 (Linux (x86, libc6))for Linux from the mysql.com website and want to install it in my own directory (such as /users/people/dong, which is not /usr/local). Since there is a previous version of mysql installed on /usr/local, when I tried to do "groupadd mysql" and "usradd mysql...", it always give me the message that "group mysql already exists" and "user mysql already exists". Then I tried to run the command: ./scripts/mysql_install_db. And it gave me the error message:

"
ERROR: 1 Can't create/write to file './mysql/db.frm' (Errcode: 13)

To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system"

I don't know whether this error is because of the unsuccessul groupadd and useradd, or because I didn't do "su - root" (I don't have the permission as a root, I only have my own account), or because of the different path from the default one(/usr/local)? If it's the problem of groupadd and user add, what shall I do? If it's the problem of installation path, I guess I need to download the source distribution instead.

The third question: Since there is previous version mysql on Linux cluster, do I need to select another port number and socket number for my mysql? From some documents, they said it is necessary. I just want to get the confirmation.

Thank you!

By: VGR Date: 01/05/2003 18:18:00 English  Type : Answer
0) stop mysqld (ps -aux | grep mysqld, kill -9 ... )
1) add manually user "mysql" in group "mysql" (/etc/groups etc)
2) manually modify access rights on the datadir/* recursively in 770
3) restart mysqld

Do register to be able to answer

EContact
browser fav
page generated in 328.341010 milliseconds

Why Google AdSense ads ?

compteur
 Ranking-Hits PageRank for this page