LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-04-2008, 08:33 PM   #1
niknokseyer
LQ Newbie
 
Registered: Dec 2008
Posts: 3

Rep: Reputation: 0
mySQL problems


I first downloaded the mySQL on http://dev.mysql.com/get/Downloads/M...ftp.mysql.com/ (http://dev.mysql.com/downloads/mysql/5.1.html#downloads to be particular)

after installing it I started to try to configure the program I need to configure and make sql with.

after typing
Code:
./configure
make sql
it returned to me
Code:
MySQL not found or disabled by the configure script
make: *** [needs_mysql] Error 1
so.. I tried the other way of doing it
Code:
./configure --with-mysql
and in the process it said
Code:
checking MySQL library (optional)... no
configure: error: MySQL not found or incompatible (requested)

AFAIK, this server OS is: Linux 86x_64
...

did I installed a wrong version of mySQL?
should I download mysql-devel / mysql library?
where can I download a mysql-devel with a .tar.gz format?

Last edited by niknokseyer; 12-04-2008 at 08:34 PM.
 
Old 12-05-2008, 06:24 AM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
What Distro?
http://en.wikipedia.org/wiki/Linux_distribution
 
Old 12-05-2008, 10:03 AM   #3
niknokseyer
LQ Newbie
 
Registered: Dec 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by comprookie2000 View Post
sorry for being a noob but, how can I know it using SHELL commands ?
 
Old 12-05-2008, 11:48 AM   #4
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 749

Rep: Reputation: 73
First to go the mysql folder/directory source and run:

shell> make distclean
shell> ./configure --prefix=/usr/local --sysconfdir=/etc --with-machine-type --with-system-type --with-mysqld-user=mysql --without-docs --with-big-tables --without-man --with-unix-socket-path=/tmp/mysql.sock --without-debug --with-low-memory --with-atomic-ops=smp --with-system-type --with-machine-type --with-ssl --with-plugins=myisam,myisammrg,heap,federated,csv,archive,partition,innobase
shell> make
shell> make install

this should work very well, I am using this on CentOS 5 (i386) and (x86_64). So good luck!
 
Old 12-06-2008, 06:43 PM   #5
niknokseyer
LQ Newbie
 
Registered: Dec 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by robertjinx View Post
First to go the mysql folder/directory source and run:

shell> make distclean
shell> ./configure --prefix=/usr/local --sysconfdir=/etc --with-machine-type --with-system-type --with-mysqld-user=mysql --without-docs --with-big-tables --without-man --with-unix-socket-path=/tmp/mysql.sock --without-debug --with-low-memory --with-atomic-ops=smp --with-system-type --with-machine-type --with-ssl --with-plugins=myisam,myisammrg,heap,federated,csv,archive,partition,innobase
shell> make
shell> make install

this should work very well, I am using this on CentOS 5 (i386) and (x86_64). So good luck!

this is using the "source tarball" available on the dev.mysql site right ?

does your configure statement already includes the libraries of mysql-devel ? Coz' I think that's my problem.

Last edited by niknokseyer; 12-06-2008 at 07:29 PM.
 
Old 12-07-2008, 05:14 AM   #6
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 749

Rep: Reputation: 73
Yes this is using the source. When u use the source you dont have mysql-devel, it will install it as its the whole source of mysql.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Having problems installing MySQL on red hat 9. Cannot find mysql.sock oferu Linux - Newbie 3 05-27-2008 07:13 PM
Problems with MySQL on SuSE: Can't Connect (/var/lib/mysql/mysql.sock) neocookie Linux - Software 8 02-07-2008 11:48 PM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. SpellChainz Linux - Newbie 1 06-23-2007 03:35 PM
DBD::MySQL + MySQL install problems. Elleroth Linux - Software 4 03-24-2006 06:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration