FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I recently installed fc2 on a spare machine. uses no monitor and I use putty from my windows machine to connect. if necessary i plug in the monitor to get updates or something. I can't seem to get mysql to run. There isnt much documentation to be found since fedora seems to install stuff in different areas. I've tried many commands.
mysql -u pcdebb -p
password: (i dont know what to enter, so i've tried nothing, or the pass i use to login)
get error: ERROR 2002: Can't connect oto local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
i find that mysql.sock doesnt exist there to begin with. I read on a forum somewhere that if you get this error then that means the daemon isn't running. I've tried various things to make that run but no go.
service mysqld start
gives error : -bash: service: command not found
I've tried a search on the forums here for answers before posting and didn't find anything that worked.
You should have a file called mysqld_safe that you can run as root. There may also be a file called mysql.server that you can put in /etc/init.d and link to from rc dirs to start mysql when your system boots. Try find / -name mysqld_safe -print
actually i found that the service was not running. I had to physically goto the computer and start it and make it start on startup. i've started tinkering and created a table to practice with.
Originally posted by pcdebb actually i found that the service was not running. I had to physically goto the computer and start it and make it start on startup. i've started tinkering and created a table to practice with.
Sorry to hijack your thread, but you are doing exactly what I want to do: administer my FC2 box through my Windows box. What exactly did you do to accomplish this? I am completely new to linux and am 100% lost! Thanks for the help!
Check out PuTTY, a telnet and ssh client for windows. This site also contains some other useful programs that will make it easier to do what you want to do.
May I suggest that you install Webmin on your FC2 box - it makes all sorts of tasks very easy for the newcomer - and the support for MySQL is great. I use it for administering the server and also tweaking data and backing up databases. It also provides an easy way of starting and stopping services at boot time.
As far as administering your box from Windows, track down WinSCP3 which makes copying files really easy. Also, if you've got X running, then TightVNC is worth the effort.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.