LinuxQuestions.org
Review your favorite Linux distribution.
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 08-27-2008, 05:05 PM   #1
mari0
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Rep: Reputation: 0
need a hand here with mysql


hello guys,
how are you today?
hope all is good...

here's my question:

i am trying at the moment to install xampp in my CentOS 5.
i was trying to start it but it's like always saying that "there is another mysql deamon is already running".

i don't actually care about mysql the only service i need it the FTP Service... after installing it i made a new user...
i connected to it and guess what i saw there?
xampp installed folders.... i should see a clean user without nothing there.. i tryed to remove the folder and got "Permission denied Error"
after that tryed to upload something....it gave me to upload but when i entered the same folder and did "ls" there was like nothing inside like they did just disappeared.
after that i made a new folder through SSH and saw nothing in FTP it's like using another folder at all or just not connected....


Thanks in Advance for helpers.

Greetz,
Kirill.
 
Old 08-28-2008, 01:55 AM   #2
slozzy
Member
 
Registered: Mar 2008
Location: Edmonton
Distribution: Centos 5.2
Posts: 31

Rep: Reputation: 15
a hand

One thing about linux, its permissions are just as good if not better than windows... for experienced administrators. I would guess that the mysql daemon is already running, probably even without you telling it to run.

Anyway, when you install programs on linux they usually run as a different user than who you installed it as. I'm not exactly familiar with xampp but others I've installed usually come with a user account that get installed that is the designated account to run all your services in xampp, including FTP. When you log in to SSH, probably as root or yourself and create folders in the FTP area, those folders may not necessarily be available to the xampp user until you fix their permissions to allow so.

You will have to change the permissions on the folders you made via SSH in order for the user account running the FTP service to see them. Centos great, Fire up startx and start right clicking your files to check permissions. Also, you might have to check the permissions on the files you set in your FTP folder to make sure the xampp user, or user account running the FTP program, can see them, and that the xampp user is allowed to write to them.

Hope that helps
 
Old 08-28-2008, 07:32 AM   #3
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,589

Rep: Reputation: 145Reputation: 145
if xampp says "there is another mysqld already running" -> then there is another mysqld already running probably. Maybe there is already such server installed on your box and startet at boot?

ps -e | grep mysql

will list existing processes

I dont know the distribution but probably you can shut that service down with
/etc/init.d/mysql stop
(as root)

in regard to permissions on unix system
man chmod
will be a good friend
and
man ls


I dont understand why you install xampp on linux? But i dont urgently need to know that either. If you simply need an ftp server why not take pure-ftpd or similar?
 
Old 09-04-2008, 08:38 AM   #4
mari0
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by j-ray View Post
if xampp says "there is another mysqld already running" -> then there is another mysqld already running probably. Maybe there is already such server installed on your box and startet at boot?

ps -e | grep mysql

will list existing processes

I dont know the distribution but probably you can shut that service down with
/etc/init.d/mysql stop
(as root)

in regard to permissions on unix system
man chmod
will be a good friend
and
man ls


I dont understand why you install xampp on linux? But i dont urgently need to know that either. If you simply need an ftp server why not take pure-ftpd or similar?
i'll tell you whyy...
if you need al services together.... the best is xampp...

you ask yourself why?

it have everything inside of it...i worked with it in linux and aswell working with it in linux .


Thanks for help anyway guyz...
 
  


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
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
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM
LXer: Linux Training and Laptops Go Hand in Hand at LinuxCertified LXer Syndicated Linux News 0 01-31-2006 12:01 PM
How do I tell yum/apt/rpm that I have hand built and installed apache/mysql/php BigDave Linux - Software 1 04-14-2005 02:51 PM

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

All times are GMT -5. The time now is 08:39 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration