MYSQL configuration


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers MYSQL configuration
# 1  
Old 09-11-2003
MYSQL configuration

Hello everyone,

I am trying to get mysql to work on my suse linux 8.1.
I downloaded the tar.gz from mysql.com.
untared it as root, and copied it in /usr/local as indicated in:
http://perl.about.com/library/weekly/aa110800b.htm

however, as I try the command:
# /usr/local/mysql/support-files/mysql.server start

I get the message:
starting daemon.....
then
030911 mytimestamp mysql ended


it seemd that the mysql daemon is not alive.
so I tried to launch:
/usr/local/mysql/scripts/mysql_install_db

and it returned:
did not find ./bin/mysqld
you should do a make install before executing this script

Here I don't know what they mean by running a make install, since in the initial installation of mysql I ran the script ./configure....


The latter went through a number of step and still at the end indicated:
030911 mytimestamp mysql ended


I really don't know what I have done wrong...


Well, if this helps, it could be due to the fact that I had one version of mysql installed by default from my suse distro, and this new one has corrupted it... ? well at least the daemon files, I don't know...


if so, how can I start from scratch ?

Many thanks in advance


Bionicfysh
# 2  
Old 09-11-2003
I only have experience installing the binary distributions of MySQL, because MySQL warns users against potential stability problems if compiled themselves. I have installed binary distribution on SuSE 7.3 and now Debian 3.0 without problem.

You just have to ensure you follow the instructions in the official manual very carefully. If you install binary distribution, simply extract the tarball and all files are in there. Then you have to do the necessary chown/chgrp etc. Start the server daemon and test ....

You may not have corrupted SuSE's version. If you installed mysql in /usr/local, then you ought to be safe because SuSE should package its own version in /usr. To revert to SuSE's version simply delete everything in /usr/local/mysql

Last edited by cbkihong; 09-11-2003 at 01:29 AM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Red Hat

Help requested with Dovecot configuration to work with Posfix and MySQL

Hi guys, I want to convert this Dovecot configuration file for Dovecot 1.x to a dovecot file for Dovecot 2.x ================== /etc/dovecot.conf ================== protocols = imap imaps pop3 pop3s log_timestamp = "%Y-%m-%d %H:%M:%S " mail_location = maildir:/home/vmail/%d/%n/Maildir ... (0 Replies)
Discussion started by: redhat19
0 Replies

2. UNIX and Linux Applications

MySQL Daemon failed to start - no mysql.sock file

After doing a yum install mysql mysql-server on Fedora 14 I wasn't able to fully install the packages correctly. It installed MySQL 5.1. I was getting the following error when running the: mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)... (3 Replies)
Discussion started by: jastanle84
3 Replies

3. Web Development

MySQL Master-Slave Configuration: Don't Replicate a Row of a Table?

Anyone have a clue about this? I have checked the MySQL documentation and it does not seem possible to exclude a row of a table from replication between Master and Slave. It seems that replication in MySQL can only be managed at the table level, not at the row level. Does anyone know a work... (5 Replies)
Discussion started by: Neo
5 Replies

4. UNIX for Advanced & Expert Users

mysql would not start: missing mysql.sock

I recently installed mysql-standard-5.0.21-solaris9-sparc-64bit.pkg on a Solaris 9 machine (SunOS 5.9 Generic_118558-19 sun4u sparc SUNW,Ultra-250). The package installation went very smooth, however, starting mysql is a different story. I get the message below everytime I try to start mysql: #... (2 Replies)
Discussion started by: xnightcrawl
2 Replies

5. UNIX for Advanced & Expert Users

MySQL problem >> missing mysql.sock

MySQL on my server is down.... I figured out that the mysqld process isn't running. When I try to run it, it says it can't find mysql.sock Any suggestions? Here's what I can't do: can't be root don't have physical access (do stuff via SSH) reinstall MySQL (need to keep the current MySQL... (8 Replies)
Discussion started by: _hp_
8 Replies
Login or Register to Ask a Question