Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
Hi, i have successfully installed PHP on my web server and now i want to install mysql on the web server, but i am having problems.
i did ./configure and then i tried the following and got the error as below:
root@localhost mysql-5.0.24]# Starting mysqld daemon with databases from /var/lib/mysql
STOPPING server from pid file /var/run/mysqld/mysqld.pid
060829 15:39:15 mysqld ended
i tried make but it is also unsuccessful.
make
make: *** No targets specified and no makefile found. Stop.
[1]+ Done ./bin/mysqld_safe
It'll be easier if you install a precompiled package using apt-get or yum. All you have to do is type 'apt-get install mysql-server' or 'yum install mysql-server' and let the package installer do the work for you.
There should be an error log somewhere that will show you why mysql failed to start properly. Its location will depend on your installation e.g. on mine its in /var/log/mysql.
However i am typing cd /usr ; /usr/bin/mysqld_safe & and the error still comes up:
STOPPING server from pid file /var/run/mysqld/mysqld.pid
060830 08:23:29 mysqld ended
# cd /etc/rc.d/init.d/
# ./mysqld start Timeout error occurred trying to start MySQL Daemon.
Starting MySQL: [FAILED]
i have followed instructions on the web and advise given here, but I dont know whether i have installed mysql properly, or what to do now. furthermore i cannot find the mysql error log.
060830 08:23:29 mysqld started
060830 8:23:29 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
060830 8:23:29 [ERROR] Do you already have another mysqld server running on port: 3306 ?
060830 8:23:29 [ERROR] Aborting
060830 08:40:40 mysqld started
060830 8:40:40 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
060830 8:40:40 [ERROR] Do you already have another mysqld server running on port: 3306 ?
060830 8:40:40 [ERROR] Aborting
060830 08:42:49 mysqld started
060830 8:42:49 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
060830 8:42:49 [ERROR] Do you already have another mysqld server running on port: 3306 ?
060830 8:42:49 [ERROR] Aborting
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.