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

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old May 7th, 2000, 09:42 PM
crose crose is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 3 crose User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi,

I'm running Linux-Mandrake 7.0 (Air) and installed MySQL when I setup Mandrake. Now, I'm attempting to run MySQL but I don't believe it is running. How can I check this, and if it is not running how can go about having it start up automatically and use it with Apache and PHP or PERL.

If there's a tutorial or something that someone point me to it would be much appreciated, as I haven't found the MySQL docs to be much help. I'm not even sure if everything is installed properly.

If anyone can help it would be much appreciated, thanks.

Chris

------------------
------------------
Chris Rose
crose@teamit.net

Reply With Quote
  #2  
Old May 7th, 2000, 10:31 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
You need to run mysql_install_db script. It might be found at /usr/local/mysql/bin/.
Then you may run safe_mysqld to start Mysql.

Reply With Quote
  #3  
Old May 7th, 2000, 11:17 PM
crose crose is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 3 crose User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks,

I gave it a try and the mysql_install_db seemed to run properly but I recieve the following message when I run safe_mysql.

"Starting mysqld demon with databases from /var/lib/mysql
mysqld demon ended

And if I try anything else I get this message.

mysqladmin: connect to server at '' failed; error: 'Can't connect to local mysql server (111)'

Chris

------------------
------------------
Chris Rose
crose@teamit.net

Reply With Quote
  #4  
Old May 7th, 2000, 11:48 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Be sure to setup a hostname correctly. It is something like "foo.bar.com".
Check and see if this script "mysql.server" is found. If so, copy it to your local starup dir.
Any pid file in /var/run/mysqld.pid or /usr/local/mysql/var/mysqld.pid?

Do not run mysqladmin until you setup your hostname correctly.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMySQL Help > Setting up MySQL on Mandrake 7.0


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 4 hosted by Hostway