LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 09-06-2004, 08:57 AM   #1
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 935

Rep: Reputation: 32
copy support-files/mysql.server, how do I


copy support-files/mysql.server, how is this done

Ok i got it in there ok. but i cant stop it start it or even do a status

Its asking me to copy files to a dir, i've had a good search for it and haven't be able to find a REF about it. unless i'm using the wrong search words

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

I'm alittle lost but i got this far.


TT

fedora Core 2 with latest MySQL, MySQL-server-4.0.20-0.i386.rpm

Some other errors i get

[root@rockinghamgateway root]# /etc/init.d/mysqld start
-bash: /etc/init.d/mysqld: No such file or directory
[root@rockinghamgateway root]#


[root@rockinghamgateway root]# service mysqld on
mysqld: unrecognized service
[root@rockinghamgateway root]#


[root@rockinghamgateway root]# whereis mysqld
mysqld: /usr/sbin/mysqld /usr/share/man/man1/mysqld.1.gz
[root@rockinghamgateway root]#

[root@rockinghamgateway root]# /etc/init.d/mysql restart
No mysqld pid file found. Looked for /var/lib/mysql/rockinghamgateway.com.pid.
[root@rockinghamgateway root]#

Last edited by tommytomato; 09-06-2004 at 08:58 AM.
 
Old 09-06-2004, 12:42 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
From the source directory run:
cp support-files/mysql.server /etc/init.d/mysql
chmod 755 /etc/init.d/mysql
chkconfig mysql on
service mysql start
 
Old 11-13-2009, 10:58 PM   #3
BallpointPenguin
LQ Newbie
 
Registered: Apr 2009
Posts: 2

Rep: Reputation: 0
Thumbs up Worked for me

thanks david I had a similar problem and spent a long time looking for files and directories that didn't exist. I created /etc/init.d and copied mysql.server into it:

mkdir /etc/init.d
cp /opt/lampp/bin/mysql/mysql.server /etc/init.d/mysql

and performed

chmod 755 /etc/init.d/mysql

'chkconfig' doesn't seem to exist in my distro (Arch)
and I omitted 'server' to use the command:

mysql start

which worked just fine, now I can change my PATH and be all good. cheers!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to copy files from a remote server man1979 Linux - General 3 08-16-2005 06:08 AM
Setup Samba File Server with Shadow Copy support kstan Linux - Enterprise 2 07-04-2005 02:15 AM
how to copy files from my linux server. luqman Red Hat 1 02-24-2005 09:45 AM
How to copy mysql db's from hardisk to new server? nbier Linux - Software 4 09-01-2004 03:24 PM
copy files from a server to another..both remote Santosh_d Linux - Networking 1 03-09-2004 07:52 AM


All times are GMT -5. The time now is 05:02 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration