How To Migrate Mantis Defect Tracking System From Windows To Linux / Fedora Core 6May 12th, 2007 Mantis is popular php based defect tracking application which works on top of RDBMS like MySQL and PostgreSQL. Recently I ported our Windows based Mantis installation to Linux.
How do I Enable Remote Access To MySQL Database?April 27th, 2009 Suppose you want to change and enable the remote access to MySQL DB on your linux server (Debian). By default, you don't get such privileges so you will have to work your way through this.
Fighting With Linux Server SetupJuly 7th, 2006 Finally my (unmanaged dedicated) server has been deployed (under 48 hours). Now my actual work begins.
Tip: How To Find MySQL VersionSeptember 1st, 2007 Try:
mysql -e status|grep 'Server version'
If that doesn't work then use:
mysql -u root -p -e status|grep 'Server version'
Provide root password when prompted. Default root password for MySQL is empty string, so just pressing enter when prompted for password will suffice by default.
Solution: MySQL Master-Master Replication Fails With ERROR 1200 (HY000) on MasterNovember 16th, 2007 When you try MySQL master-master replication with two (or more) servers you may often find that in the process of configuring the original master to also act as a slave server (start slave), it fails with the following error:
mysql> start slave;
ERROR 1200 (HY000): The server is not configured as slave; fix in config file or with CHANGE MASTER TO
To rectify it locate and delete the master.info file and restart the mysql server. Now try to start slave and it should work.
6 MySQL Database Replication TipsNovember 18th, 2007 Replicating on two or more MySQL master database servers
1. MySQL Master-Master Replication Fails With ERROR 1200 (HY000) on Master
2.
MySQL Tip: How To Check, Repair & Optimize All Tables in All DatabasesApril 20th, 2008 Here is a simple command to auto repair, check and optimize all the tables in all databases running on a MySQL server:
mysqlcheck -u root -p --auto-repair --check --optimize --all-databases
mysqlcheck is available in MySQL 3.23.38 and later. mysqlcheck uses the SQL statements CHECK TABLE, REPAIR TABLE, ANALYZE TABLE, and OPTIMIZE TABLE in a convenient way for the user.
Help: Hard Disk & MySQL Server Suddenly Read-OnlyAugust 26th, 2006 Suddenly my Hard-disk & MySQL Server had gone read-only, thereby making this blog (because it is cached) and other sites inaccessible, including ssh access. Do you have any idea why this could have happened?
A hard reboot rectified the error for now.
Top 7 Free Open Source Database ServerAugust 26th, 2009 Open Source Server based database management systems have become a common choice for organizations over the stand alone desktop databases. The server based databases or RDBMS such as MySQL, PostgreSQL, Microsoft SQL Server are designed to be used on servers and it can be easily shared by multiple users.
Sun Restricts MySQL Query Analyzer Tool To Gold Subscribers OnlyNovember 25th, 2008 The MySQL Query Analyzer tool monitors query performance and quickly pinpoints and corrects problems in SQL code. It promises to "turbo-boost" the speed and uptime of MySQL database applications.
How To Enable/ Disable Auto Reconnect in MySQLJuly 20th, 2007 What is auto reconnect in MySQL?
The MySQL client library can perform an automatic reconnect to the server if it finds that the connection is down when you attempt to send a statement to the server to be executed. In this case, the library tries once to reconnect to the server and send the statement again.
How To Test Master-Master / Master-Slave / Standard / Circular Replication on MySQLSeptember 1st, 2007 Working with replication systems is not easy. Learning and testing different kind of MySQL replications and fine-tuning it to your specific needs is a time-consuming endeavor.
MySQL Tip: MySQL Server Has Gone Away Or Lost connection to server during query FixJuly 24th, 2007 A much dreaded MySQL error message during queries is "MySQL server has gone away". An alternative message is "Lost connection to server during query".
How To Use Vanilla Forum On MySQL Database Without Password SetOctober 23rd, 2006 First of all I want to make it clear that having a MySQL database without a password set (on your root account) is a very very bad idea. However I wanted to set it up on my home machine which has XAMPP installed.
How To Enable / Use .htaccess / Nice permalinks in Apache Web Server on WindowsOctober 23rd, 2006 .htaccess is a web server directive file populalrly used in Apache Web Server in Linux / Unix environment. In windows environment there is a simple way to enable and use .htaccess.
January 8th, 2005 at 12:21 pm
I suggest you remove the . in front of the first slash so that you can execute that command from anywhere, not just in the / directory.
February 2nd, 2005 at 4:41 am
what about
# killall mysqld
February 2nd, 2005 at 5:20 am
Ortwin,
Very true. killall can be used instead of the awkward awk code. I missed it because it is not on my Linux installation provided by my hosting provider.
Thanks for the tip.
Angsuman
March 20th, 2005 at 8:31 pm
very good
March 31st, 2007 at 5:49 am
hai angsuman ..well the tip you provided to start the SQL server isnt working .
April 2nd, 2007 at 7:48 am
You can also try these:
service mysqld start
service mysqld stop
service mysqld restart
October 18th, 2007 at 5:06 am
I tried the above one, but not able to stop!
October 18th, 2007 at 1:14 pm
To stop just use:
service mysqld stop
November 27th, 2007 at 3:19 pm
I tried /sbin/service mysqld stop
But faled. got response “mysqld: unrecognized service
“
November 27th, 2007 at 3:26 pm
Got the way. “service mysql stop” worked fine.
But, please clarify the difference. I don’t know what is the difference.
November 27th, 2007 at 8:22 pm
No difference. The name of the mysqld executive may vary from one distribution to another and even between versions. On fedora core 6 it is mysqld. Which distro are you using?
November 29th, 2007 at 7:48 pm
Worked like a charm, many thanks!
June 11th, 2008 at 5:20 am
Really this should be titled How to Stop Mysql Server on Redhat/Fedora. /sbin/service is a redhat-ism. Its basically a wrapper script around the init.d scripts. Debian/Ubuntu users, and other based on SysV style init scripts (most I think maybe not SuSE) can do the same thing by invoking /etc/init.d/mysql stop as root which is what /sbin/service does.
August 26th, 2008 at 7:54 pm
Where to get this mysqld ? I cannot find it.
August 28th, 2008 at 11:28 pm
Use the following command to find mysqld:
locate mysqld
December 1st, 2008 at 10:17 pm
What we have to do if we are using My SQL first time in linux machine. I have started My SQL services.
February 17th, 2009 at 9:55 am
can someone help me,
i did installed mysql5 on fedora7,
the problem now is i couldn’t run it,
i did tried to use the command been given here
but still starting mysql failed
June 13th, 2009 at 6:14 pm
Some Linux distros to start use
# /etc/init.d/mysqld start
or
# mysqld_safe &
.Starting..
press or mysql
to stop use
# /etc/init.d/mysqld stop
(note: use the whole directory)