Setting Up MySQL on an EC2 AMI-opracowanie

Nasza ocena:

3
Wyświetleń: 350
Komentarze: 0
Notatek.pl

Pobierz ten dokument za darmo

Podgląd dokumentu
Setting Up MySQL on an EC2 AMI-opracowanie - strona 1

Fragment notatki:

Setting Up MySQL on an EC2 AMI
There are many different ways of setting up an EC2 AMI with MySQL, including using any of the preconfigured
AMIs supplied by Amazon.
The default Getting Started AMI provided by Amazon uses Fedora Core 4, and you can install MySQL
by using yum:
shell yum install mysql
This installs both the MySQL server and the Perl DBD::mysql driver for the Perl DBI API.
Alternatively, you can use one of the AMIs that include MySQL within the standard installation.
Finally, you can also install a standard version of MySQL downloaded from the MySQL Web site. The
installation process and instructions are identical to any other installation of MySQL on Linux. See
Chapter 2, Installing and Upgrading MySQL.
The standard configuration for MySQL places the data files in the default location, /var/lib/mysql.
The default data directory on an EC2 instance is /mnt (although on the large and extra large instance
you can alter this configuration). You must edit /etc/my.cnf to set the datadir [432] option to point
to the larger storage area.
... zobacz całą notatkę



Komentarze użytkowników (0)

Zaloguj się, aby dodać komentarz