MySQL Community Server questions & answers

View, edit, manage, and monitor databases
G
Question by Guest #109623828
75 views
January 17, 2022
Rajesh Gupta
Answer by Rajesh Gupta

Regarding the question: To install MySQL Community Server for Windows, you can follow these steps:

  1. Visit the official MySQL website.
  2. Navigate to the Downloads section.
  3. Look for the version suitable for your operating system (Windows).
  4. Download the installer file (.msi).
  5. Once the download is complete, run the installer file.
  6. Follow the installation wizard, accepting the license terms and specifying installation preferences as needed.
  7. Choose a password for the MySQL root user when prompted.
  8. Complete the installation process by clicking on the Finish button.

After installation, you should have MySQL Community Server installed on your Windows machine.

G
Question by Guest #35303867
204 views
February 6, 2017

How to install update 5.1-5.7 MySQL?

R
Answer by Robert Polubinski

Upgrading a database server(and especially MySQL) requires more than a few simple launch-install steps. You have to make sure that the old database is compatible with the new structure and functions provided by the new version. There are also changes that have been implemented in new versions which might not be compatible with what you have. Kindly study the documentation page that I linked below to take all the necessary steps to prepare for a database update.


Note: As a friendly reminder, follow this saying "if it isn't broken, don't fix it". Of course there are security exceptions, but if the MySQL is working fine and all the updates are working fine as well, don't migrate to a much higher version unless you are told so.


I recommend checking the MySQl Upgrade documentation because the procedure is different for the available operating systems.

G
Question by Guest
296 views
November 18, 2015

I am trying to make multi-source MySQL replication. But I need to replicate only one database to one slave instance and other database to other slave instance. If I use replicate-do-db in master it replicates two databases to both slaves. Please suggest me any other way to replicate different databases.

S
Answer by Sean Hill

The official website of MySQL provides an in-depth guide and tutorials on how to establish MySQL replication. Access the page listed below to learn how to do it properly without errors. This is the best way because you have the information directly from the developers and you can be sure that it will work under the given situation. Follow the instructions on the page and adjust the data according to your databases.


Tutorials page: https://dev.mysql.com/doc/refman/5.7/en/replication-multi-source-tutorials.html

G
Question by Guest
333 views
January 3, 2010

I installed MySQL, but I no longer remember my password. Yesterday, I tried to open it but the password was totally wrong. Can you help me to renew my password? I need to use it for my final year project.

M
Answer by MasterBETA

The default password is blank with "su" as username. You can actually find the config file on the hard drive located in the server folders. You can edit the text via NotePad.

M
Answer by MasterBETA

The sql command prompt is one of the ways to use it. You can also log in via your local host.

V
Question by vishal kapse
191 views
December 16, 2009

I want to install and configure MySql version 5.4 on RHL5. Can you help?

P
Answer by Pete Clapp

You can install MySQL from the RHN or CentOS repo. In order to install the utility, open the terminal and type the following command:


# yum install mysql-server mysql

After that, use the command below to open the MySQL Service:


# chkconfig mysqld on
# /etc/init.d/mysqld start

If you want to set a password type # mysqladmin -u root password NEWPASSWORD and check the connectivity using $ mysql -u root -p command. In order to begin the configuration process, you will need to type # vi /etc/my.cnf.


After that, configure the caches and other limits using the following codes:


query_cache_type = 1
query_cache_limit = 1M
query_cache_size = 32M
tmp_table_size = 32M
max_heap_table_size = 32M
max_connections = 500
thread_cache_size = 50
open_files_limit = 65535
table_definition_cache = 4096
table_open_cache = 512

The above limits are sample values that can be adjusted as you want. You can find additional guides, instructions and tutorials that will help you install and configure MySql 5.4 on RHL5, using Google search engine.

See more questions & answers

Ask a question about MySQL Community Server

Alternative downloads

Navicat for MySQL
rating

Good solution for MySQL/MariaDB administration and development.

SQL Manager for MySQL
rating

EMSSQL Manager for MySQL is a performance tool for MySQL database administration

dbForge Studio for MySQL
rating

The universal MySQL and MariaDB client for database management.