A Step-By-Step Guide To Installing And Securing The Tru64 Unix Operating System Version 5.1


Free download. Book file PDF easily for everyone and every device. You can download and read online A Step-By-Step Guide To Installing And Securing The Tru64 Unix Operating System Version 5.1 file PDF Book only if you are registered here. And also you can download or read online all Book PDF file that related with A Step-By-Step Guide To Installing And Securing The Tru64 Unix Operating System Version 5.1 book. Happy reading A Step-By-Step Guide To Installing And Securing The Tru64 Unix Operating System Version 5.1 Bookeveryone. Download file Free Book PDF A Step-By-Step Guide To Installing And Securing The Tru64 Unix Operating System Version 5.1 at Complete PDF Library. This Book have some digital formats such us :paperbook, ebook, kindle, epub, fb2 and another formats. Here is The CompletePDF Book Library. It's free to register here to get Book file PDF A Step-By-Step Guide To Installing And Securing The Tru64 Unix Operating System Version 5.1 Pocket Guide.
Bestselling Series

The information in this Security bulletin should be acted upon as soon as possible. Contact your service provider for assistance if the installation of the ERPs is blocked by any of your installed CSPs. Implementing this new functionality is a 2-Step process: 1. Install the 5. Follow the instructions in the Technical Update listed in the resolution section of this Bulletin.

Required for implementing the new remote identity ID restriction functionality following installation of the 5. Login free account registration is required 2. Select "subscribe to security bulletins and patch digests" 3. Select desired digests. HP is continually reviewing and enhancing the security features of software products to provide customers with current secure solutions. HP recommends that all users determine the applicability of this information to their individual situations and take appropriate action. The final screen of the installer provides a summary of the installation and gives you the option to launch the MySQL Configuration Wizard, which you can use to create a configuration file, install the MySQL service, and configure security settings.

Once you click the Install button, the MySQL Installation Wizard begins the installation process and makes certain changes to your system which are described in the sections that follow. It contains two string values, Location and Version. The Location string contains the path to the installation directory. The Version string contains the release number.

These registry keys are used to help external tools identify the installed location of the MySQL server, preventing a complete scan of the hard-disk to determine the installation path of the MySQL server. The registry keys are not required to run the server, and if you install MySQL using the noinstall Zip archive, the registry keys are not created.

For example, if you install MySQL 5.

The following entries are created within the new Start menu section:. The shortcut prompts for a root user password when you connect. Use this shortcut to configure a newly installed server, or to reconfigure an existing server. This option is not available when the MySQL server is installed using the Essentials installation package. A typical MySQL installation on a developer machine might look like this:.

This approach makes it easier to manage and maintain all MySQL applications installed on a particular system. That means you do not need to remove a previous installation manually before installing a new release. The installer automatically shuts down and removes the previous MySQL service before installing the new version.

Automatic upgrades are available only when upgrading between installations that have the same major and minor version numbers. For example, you can upgrade automatically from MySQL 4. It creates a custom MySQL configuration file my. You should only need to run the MySQL Server Configuration Wizard again when you need to change the configuration parameters of your server.

However, you must open a port in the Windows Firewall. One or the other option is sufficient — you need not do both. This helps associate configuration files with particular server instances. To ensure that the MySQL server knows where to look for the my. The --defaults-file option instructs the MySQL server to read the specified file for configuration options when it starts. Apart from making changes to the my. MySQL clients and utilities such as the mysql and mysqldump command-line clients are not able to locate the my.

To configure the client and utility applications, create a new my. If the MySQL Server Configuration Wizard detects an existing configuration file, you have the option of either reconfiguring your existing server, or removing the server instance by deleting the configuration file and stopping and removing the MySQL service. To reconfigure an existing server, choose the Re-configure Instance option and click the Next button.

Any existing configuration file is not overwritten, but renamed within the same directory using a timestamp Windows or sequential number Linux. To remove the existing server instance, choose the Remove Instance option and click the Next button. If you choose the Remove Instance option, you advance to a confirmation window. Click the Execute button. The server installation and its data folder are not removed. If you choose the Re-configure Instance option, you advance to the Configuration Type dialog where you can choose the type of installation that you wish to configure.

There are two configuration types available: Detailed Configuration and Standard Configuration. The Standard Configuration option is intended for new users who want to get started with MySQL quickly without having to make many decisions about server configuration. The Detailed Configuration option is intended for advanced users who want more fine-grained control over server configuration. If you are new to MySQL and need a server configured as a single-user developer machine, the Standard Configuration should suit your needs. The Standard Configuration sets options that may be incompatible with systems where there are existing MySQL installations.

If you have an existing MySQL installation on your system in addition to the installation you wish to configure, the Detailed Configuration option is recommended. There are three different server types available to choose from. The server type that you choose affects the decisions that the MySQL Server Configuration Wizard makes with regard to memory, disk, and processor usage. Developer Machine : Choose this option for a typical desktop workstation where MySQL is intended only for personal use. It is assumed that many other desktop applications are running.

The MySQL server is configured to use minimal system resources. The MySQL server is configured to use a moderate portion of the system resources. It is assumed that no other applications are running. The MySQL server is configured to use all available system resources. By selecting one of the preconfigured configurations, the values and settings of various options in your my. The default values and options as described in the reference manual may therefore be different to the options and values that were created during the execution of the configuration wizard.

The Database Usage dialog allows you to indicate the storage engines that you expect to use when creating MySQL tables. The option you choose determines whether the InnoDB storage engine is available and what percentage of the server resources are available to InnoDB.

Guide 자료등록 - A Step-By-Step Guide To Installing An : 네이버 포스트

This option is recommended for users who use both storage engines on a regular basis. This option is recommended for users who do not use InnoDB. The Configuration Wizard uses a template to generate the server configuration file. The Database Usage dialog sets one of the following option strings:. When these options are processed through the default template my-template. The remaining resources are allocated to InnoDB.

Placing the tablespace files in a separate location can be desirable if your system has a higher capacity or higher performance storage device available, such as a RAID storage system. To change the default location for the InnoDB tablespace files, choose a new drive from the drop-down list of drive letters and choose a new path from the drop-down list of paths. To create a custom path, click the If you are modifying the configuration of an existing server, you must click the Modify button before you change the path. In this situation you must move the existing tablespace files to the new location manually before starting the server.

To prevent the server from running out of resources, it is important to limit the number of concurrent connections to the MySQL server that can be established. The Concurrent Connections dialog allows you to choose the expected usage of your server, and sets the limit for concurrent connections accordingly. It is also possible to set the concurrent connection limit manually.

The maximum number of connections is set at , with an average of 20 concurrent connections assumed. The maximum number of connections is set at Manual Setting : Choose this option to set the maximum number of concurrent connections to the server manually. Choose the number of concurrent connections from the drop-down box provided, or enter the maximum number of connections into the drop-down box if the number you desire is not listed. Port is used by default. To change the port used to access MySQL, choose a new port number from the drop-down box or type a new port number directly into the drop-down box.

If the port number you choose is in use, you are prompted to confirm your choice of port number. Enabling strict mode default makes MySQL behave more like other database management systems. The MySQL server supports multiple character sets and it is possible to set a default server character set that is applied to all tables, columns, and databases unless overridden. Standard Character Set : Choose this option if you want to use latin1 as the default server character set. Best Support For Multilingualism : Choose this option if you want to use utf8 as the default server character set. This is a Unicode character set that can store characters from many different languages.

Choose the desired character set from the provided drop-down list. When installed this way, the MySQL server can be started automatically during system startup, and even restarted automatically by Windows in the event of a service failure. If you do not wish to install the service, uncheck the box next to the Install As Windows Service option. You can change the service name by picking a new service name from the drop-down box provided or by entering a new service name into the drop-down box.

If you are installing multiple versions of MySQL onto the same machine, you must choose a different service name for each version that you install. If you do not choose a different service for each installed version then the service manager information will be inconsitent and this will cause problems when you try to uninstall a previous version. Typically, when installing multiple versions you create a service name based on the version information. For example, you might install MySQL 5. If you do not wish to set a root password, uncheck the box next to the Modify Security Settings option.

To set the root password, enter the desired password into both the New root password and Confirm boxes. If you are reconfiguring an existing server, you need to enter the existing root password into the Current root password box. To prevent root logins from across the network, check the box next to the Root may only connect from localhost option. This increases the security of your root account. To create an anonymous user account, check the box next to the Create An Anonymous Account option. Creating an anonymous account can decrease server security and cause login and permission difficulties.

For this reason, it is not recommended. To start the configuration process, click the Execute button. To return to a previous dialog, click the Back button. After you click the Execute button, the MySQL Server Configuration Wizard performs a series of tasks and displays the progress onscreen as the tasks are performed.

This template is named my-template. If you are reconfiguring an existing service, the MySQL Server Configuration Wizard restarts the service to apply your configuration changes.


  • curl - Download.
  • Product description;
  • Sidereus Nuncius?
  • CA Software Change Manager Release Notes - CA Technologies?

If you chose to set a root password, the MySQL Configuration Wizard connects to the server, sets your new root password, and applies any other security settings you may have selected. Users who are installing from the Noinstall package can use the instructions in this section to manually install MySQL.

Make sure that you are logged in as a user with administrator privileges. Choose an installation location. Extract the install archive to the chosen installation location using your preferred Zip archive tool. Some tools may extract the archive to a folder within your chosen installation location. If this occurs, you can move the contents of the subfolder into the chosen installation location.

If you need to specify startup options when you run the server, you can indicate them on the command line or place them in an option file. For options that are used every time the server starts, you may find it most convenient to use an option file to specify your MySQL configuration. This is particularly true under the following circumstances:. MySQL looks for options first in the my. However, to avoid confusion, it's best if you use only one file. If your PC uses a boot loader where C: is not the boot drive, your only option is to use the my.

Whichever option file you use, it must be a plain text file. An option file can be created and modified with any text editor, such as Notepad. Note that Windows pathnames are specified in option files using forward slashes rather than backslashes. If you do use backslashes, you must double them:. If you would like to use a data directory in a different location, you should copy the entire contents of the data directory to the new location.

Use a --datadir option to specify the new data directory location each time you start the server. All of the preceding binaries are optimized for modern Intel processors, but should work on any Intel iclass or higher processor. Each of the servers in a distribution support the same set of storage engines. MySQL servers on Windows support named pipes as indicated in the following list.

Named pipes are enabled only if you start the server with the --enable-named-pipe option. It is necessary to use this option explicitly because some users have experienced problems with shutting down the MySQL server when named pipes were used. Named-pipe connections are allowed only by the mysqld-nt and mysqld-debug servers.

Most of the examples in this manual use mysqld as the server name. If you choose to use a different server, such as mysqld-nt , make the appropriate substitutions in the commands that are shown in the examples. This section gives a general overview of starting the MySQL server. The following sections provide more specific information for starting the MySQL server from the command line or as a Windows service.

Adjust the pathnames shown in the examples if you have MySQL installed in a different location.


  • The Black Horn: The Story of Classical French Hornist Robert Lee Watt;
  • Political Revolutions Of The 18th, 19th, and 20th Centuries (Chelsea Foundation)!
  • Download Wizard;
  • Practical methods for biocatalysis and biotransformations 3.
  • Standard Method of Specifying for Minor Works: The Preparation of Documentation for Works of Repair, Improvement and Conversion;
  • Pre-Installation Requirements.
  • Real-World Flash Game Development (Elements)!

Clients have two options. MySQL for Windows also supports shared-memory connections if the server is started with the --shared-memory option. In this way you can have the server display status messages in the window where they are easy to see. If something is wrong with your configuration, these messages make it easier for you to identify and fix any problems.

For a server that includes InnoDB support, you should see the messages similar to those following as it starts the pathnames and sizes may differ :. When the server finishes its startup sequence, you should see something like this, which indicates that the server is ready to service client connections:. The server continues to write to the console any further diagnostic output it produces. You can open a new console window in which to run client programs.

The error log is the file with the. The accounts that are listed in the MySQL grant tables initially have no passwords. The MySQL server can be started manually from the command line. This can be done on any version of Windows.


  1. X Window System Administration in the Tru64 UNIX Environment.
  2. Running Theaters: Best Practices for Leaders and Managers.
  3. Encyclopedic Dictionary of Polymers.
  4. The path to mysqld may vary depending on the install location of MySQL on your system. If the MySQL root user account has a password, you need to invoke mysqladmin with the -p option and supply the password when prompted. This command invokes the MySQL administrative utility mysqladmin to connect to the server and tell it to shut down. If mysqld doesn't start, check the error log to see whether the server wrote any messages there to indicate the cause of the problem.

    It is the file with a suffix of. You can also try to start the server as mysqld --console ; in this case, you may get some useful information on the screen that may help solve the problem. The last option is to start mysqld with the --standalone and --debug options. Use mysqld --verbose --help to display all the options that mysqld understands. Generally, to install MySQL as a Windows service you should be logged in using an account that has administrator rights. To avoid conflicts, it is advisable to close the Services utility while performing server installation or removal operations from the command line.

    Before installing MySQL as a Windows service, you should first stop the current server if it is running by using the following command:. The service-installation command does not start the server. Instructions for that are given later in this section. On the Windows desktop, right-click on the My Computer icon, and select Properties. Next select the Advanced tab from the System Properties menu that appears, and click the Environment Variables button. Under System Variables , select Path , and then click the Edit button.

    The Edit System Variable dialogue should appear. Place your cursor at the end of the text appearing in the space marked Variable Value. Use the End key to ensure that your cursor is positioned at the very end of the text in this space. Dismiss this dialogue, and each dialogue in turn, by clicking OK until all of the dialogues that were opened have been dismissed.

    You should now be able to invoke any MySQL executable program by typing its name at the DOS prompt from any directory on the system, without having to supply the path. This includes the servers, the mysql client, and all MySQL command-line utilities such as mysqladmin and mysqldump. You must exercise great care when editing your system PATH by hand; accidental deletion or modification of any portion of the existing PATH value can leave you with a malfunctioning or even unusable system.

    The following additional arguments can be used in MySQL 5. You can specify a service name immediately following the --install option. The default service name is MySQL. If a service name is given, it can be followed by a single option. The use of a single option other than --defaults-file is possible but discouraged. Also, in MySQL 5. As of MySQL 5. This causes the server to run using the LocalService Windows account that has limited system privileges. This account is available only for Windows XP or newer. If both --defaults-file and --local-service are given following the service name, they can be in any order.

    For a MySQL server that is installed as a Windows service, the following rules determine the service name and option files that the server uses:. If the service-installation command specifies no service name or the default service name MySQL following the --install option, the server uses the a service name of MySQL and reads options from the [mysqld] group in the standard option files. If the service-installation command specifies a service name other than MySQL following the --install option, the server uses that service name.

    It reads options from the [mysqld] group and the group that has the same name as the service in the standard option files. This allows you to use the [mysqld] group for options that should be used by all MySQL services, and an option group with the service name for use by the server installed with that service name.

    If the service-installation command specifies a --defaults-file option after the service name, the server reads options only from the [mysqld] group of the named file and ignores the standard option files. Here, the default service name MySQL is given after the --install option. If no --defaults-file option had been given, this command would have the effect of causing the server to read the [mysqld] group from the standard option files.

    However, because the --defaults-file option is present, the server reads options from the [mysqld] option group, and only from the named file. Once a MySQL server has been installed as a service, Windows starts the service automatically whenever Windows starts. The NET command is not case sensitive. When run as a service, mysqld has no access to a console window, so no messages can be seen there. If mysqld does not start, check the error log to see whether the server wrote any messages there to indicate the cause of the problem.

    When a MySQL server has been installed as a service, and the service is running, Windows stops the service automatically when Windows shuts down. You also have the choice of installing the server as a manual service if you do not wish for the service to be started automatically during the boot process. To do this, use the --install-manual option rather than the --install option:.

    Then use the --remove option to remove it:. If mysqld is not running as a service, you can start it from the command line. You can test whether the MySQL server is working by executing any of the following commands:. In this case, start mysqld with the --skip-name-resolve option and use only localhost and IP numbers in the Host column of the MySQL grant tables.

    1.1 Choosing the xdm or the dtlogin Display Manager

    Use the --socket option to specify the name of the pipe if you do not want to use the default pipe name. Note that if you have set a password for the root account, deleted the anonymous account, or created a new user account, then you must use the appropriate -u and -p options with the commands shown above in order to connect with the MySQL Server. The purpose of this section is to help you diagnose and correct some of these errors.

    Your first resource when troubleshooting server issues is the error log. The MySQL server uses the error log to record information relevant to the error that prevents the server from starting. The error log is located in the data directory specified in your my. Another source of information regarding possible errors is the console messages displayed when the MySQL service is starting. The following examples show other common error messages you may encounter when installing MySQL and starting the server for the first time:.

    If the MySQL server cannot find the mysql privileges database or other critical files, you may see these messages:. This situation may occur when MySQL is upgraded and installed to a new location, but the configuration file is not updated to reflect the new location. In addition, there may be old and new configuration files that conflict. Be sure to delete or rename any old configuration files when upgrading MySQL. The my. You can determine its exact location from the value of the WINDIR environment variable by issuing the following command from the command prompt:.

    This occurs when the Configuration Wizard tries to install the service and finds an existing service with the same name. One solution to this problem is to choose a service name other than mysql when using the configuration wizard. This allows the new service to be installed correctly, but leaves the outdated service in place. Although this is harmless, it is best to remove old services that are no longer in use. To permanently remove the old mysql service, execute the following command as a user with administrative privileges, on the command-line:. You should always back up your current MySQL installation before performing an upgrade.

    Before upgrading MySQL, you must stop the server. If the server is installed as a service, stop the service with the following command from the command prompt:. If you are not running the MySQL server as a service, use the following command to stop it:. When upgrading to MySQL 5. Overwriting the existing installation is recommended. If you were running MySQL as a Windows service and you had to remove the service earlier in this procedure, reinstall the service.

    Restart the server. MySQL for Windows has proven itself to be very stable. Windows systems have about 4, ports available for client connections, and after a connection on a port closes, it takes two to four minutes before the port can be reused. In situations where clients connect to and disconnect from the server at a high rate, it is possible for all available ports to be used up before closed ports become available again.

    If this happens, the MySQL server appears to be unresponsive even though it is running. Note that ports may be used by other applications running on the machine as well, in which case the number of ports available to MySQL is lower. Currently, we use mutexes to emulate pread and pwrite.

    The current implementation limits the number of open files that MySQL 5. MySQL uses a blocking read for each connection. That has the following implications if named-pipe connections are enabled:. A connection is not disconnected automatically after eight hours, as happens with the Unix version of MySQL. If a connection hangs, it is not possible to break it without killing MySQL. This has to do with the fact that on Windows, you can't delete a file that is in use by another thread.

    In the future, we may find some way to work around this problem. These options also are ignored on systems that have a non-functional realpath call. Filenames are not case sensitive on Windows, so MySQL database and table names are also not case sensitive on Windows.

    The only restriction is that database and table names must be specified using the same case throughout a given statement. Pipes do not work reliably from the Windows command-line prompt. The latter command also can be used to reliably read in any SQL file that may contain binary data.

    Access denied for user error. If MySQL cannot resolve your hostname properly, you may get the following error when you attempt to run a MySQL client program to connect to a server running on the same machine:.

    Be aware that they may differ in features and capabilities from those built by MySQL AB, and that the instructions in this manual do not necessarily apply to installing them. The vendor's instructions should be consulted instead. The other packages are not required for a standard installation.

    For upgrades, if your installation was originally produced by installing multiple RPM packages, it is best to upgrade all the packages, not just some. If you get a dependency failure when trying to install MySQL packages for example, error: removing these packages would break dependencies: libmysqlclient.

    If these shared libraries are in a separate package for example, MySQL-shared , it is sufficient to simply leave this package installed and just upgrade the MySQL server and client packages which are statically linked and do not depend on the shared libraries. For distributions that include the shared libraries in the same package as the MySQL server for example, Red Hat Linux , you could either install our 3. Do not install both.

    The RPM packages shown in the following list are available. The names shown here use a suffix of. The MySQL server. You need this unless you only want to connect to a MySQL server running on another machine. The standard MySQL client programs. You probably always want to install this package. Tests and benchmarks. The libraries and include files that are needed if you want to compile other MySQL clients, such as the Perl modules. This package contains debugging information.

    However, they contain additional information that might be needed by a debugger to analyze a crash. This package contains the shared libraries libmysqlclient. It contains single-threaded and thread-safe libraries. If you install this package, do not install the MySQL-shared-compat package. This package includes the shared libraries for MySQL 3. Install this package instead of MySQL-shared if you have applications installed that are dynamically linked against older versions of MySQL but you want to upgrade to the current version without breaking the library dependencies.

    This contains the source code for all of the previous packages. The CPU value indicates the processor type or family for which the package is built:. RPM provides a feature to verify the integrity and authenticity of packages before installing them. This means that if you have performed a previous installation and have made changes to its startup script, you may want to make a copy of the script so that you don't lose it when you install a newer RPM.

    You should be able to start using MySQL. If something goes wrong, you can find more information in the binary installation section. Please note that older versions of Mac OS X for example, The package is located inside a disk image. It should then mount the image and display its contents. Due to a bug in the Mac OS X package installer, you may see this error message in the destination disk selection dialog:.

    If this error occurs, simply click the Go Back button once to return to the previous screen. Then click Continue to advance to the destination disk selection again, and you should be able to choose the destination disk correctly. We have reported this bug to Apple and it is investigating this problem.

    A user account with this name should exist by default on Mac OS X If you are upgrading from Marc's 3. It is part of the Mac OS X installation disk images as a separate installation package. The Startup Item need be installed only once. There is no need to install it each time you upgrade the MySQL package later. Before MySQL 4. However, it does not shut down a running MySQL server. You should do that yourself. After the installation, you can start up MySQL by running the following commands in a terminal window.

    You must have administrator privileges to perform this task. You might want to add aliases to your shell's resource file to make it easier to access commonly used programs such as mysql and mysqladmin from the command line. The syntax for bash is:. You can do this by modifying the appropriate startup file for your shell. If you are upgrading an existing installation, note that installing a new MySQL PKG does not remove the directory of an older installation.

    Unfortunately, the Mac OS X Installer does not yet offer the functionality required to properly upgrade previously installed packages. To use your existing databases with the new installation, you'll need to copy the contents of the old data directory to the new data directory. Make sure that neither the old server nor the new one is running when you do this.

    After you have copied over the MySQL database files from the previous installation and have successfully started the new server, you should consider removing the old installation files to save disk space. If you install MySQL using a binary tarball distribution on Solaris, you may run into trouble even before you get the MySQL distribution unpacked, as the Solaris tar cannot handle long filenames.

    This means that you may see errors when you try to unpack MySQL. If this occurs, you must use GNU tar gtar to unpack the distribution. Before installing using the binary PKG format, you should create the mysql user and group, for example:. The profile should be disabled so that you cannot log in as the MySQL user. On the System i machine, create a save file that will be used to receive the downloaded installation save file.

    Download the MySQL installation save file in bit mysql- 5. You need to FTP the downloaded. You can do this through FTP using the following steps after logging in to the System i machine:. You need to restore the installation library stored in the. You can specify three parameter settings during installation:. The directory will be created if it does not already exist. The profile will be created if it does not already exist.

    If you are updating an installation over an existing MySQL installation, you should use the same parameter values that were used when MySQL was originally installed. The installation copies all the necessary files into a directory matching the package version for example mysql If you do not use a user with this ID then the system will be unable to change the user when executing mysqld as set using --user option. If this happens, mysqld may be unable to read the files located within the MySQL data directory and the execution will fail.

    The installer conveniently installs a symbolic link to the installation directory mysql Stop the MySQL server by changing into the installation directory and running mysqladmin , specifying the user name used to install the server:. If the session that you started and stopped MySQL are the same, you may get the log output from mysqld :. If the sessions used to start and stop MySQL are different, you will not receive any confirmation of the shutdown. Note and tips. A problem has been identified with the installation process on DBCS systems.

    Novell customers should be pleased to note that NetWare 6. The latest Support Pack of NetWare 6. The system must meet Novell's minimum requirements to run the respective version of NetWare. If you are upgrading from a prior installation, stop the MySQL server. This is done from the server console, using the following command:. Log on to the target server from a client machine with access to the location where you are installing MySQL. Extract the binary package Zip file onto the server. Be sure to allow the paths in the Zip file to be used.

    You can then delete the old copy of MySQL. You might want to rename the directory to something more consistent and easy to use. To finish the installation, you should also add the following commands to autoexec. External locking is known to have problems on NetWare 6. Instead, it prompts for user input:. This section covers the installation of MySQL binary distributions that are provided for various platforms in the form of compressed tar files files with a.

    In addition to these generic packages, we also offer binaries in platform-specific package formats for selected platforms. You need the following tools to install a MySQL tar file binary distribution:. A reasonable tar to unpack the distribution. GNU tar is known to work. Some operating systems come with a preinstalled version of tar that is known to have problems. On Mac OS X, you can use the preinstalled gnutar program. On other systems with a deficient tar , you should install GNU tar first. The basic commands that you must execute to install and use a MySQL binary distribution are:.

    This procedure does not set up any passwords for MySQL accounts. A more detailed version of the preceding description for installing a binary distribution follows:. Add a login user and group for mysqld to run as:. These commands add the mysql group and the mysql user. The syntax for useradd and groupadd may differ slightly on different versions of Unix, or they may have different names such as adduser and addgroup.

    Releases and Downloads

    You might want to call the user and group something else instead of mysql. If so, substitute the appropriate name in the following steps. Pick the directory under which you want to unpack the distribution and change location into it. If that directory is protected, you must perform the installation as root. For a given release, binary distributions for all platforms are built from the same MySQL source distribution.

    Unpack the distribution, which creates the installation directory. Then create a symbolic link to that directory:. The ln command makes a symbolic link to that directory. With GNU tar , no separate invocation of gunzip is necessary. You can replace the first line with the following alternative command to uncompress and extract the distribution:. You will find several files and subdirectories in the mysql directory. The most important for installation purposes are the bin and scripts subdirectories:. The bin directory contains client programs and the server.

    Ensure that the distribution contents are accessible to mysql. If you unpacked the distribution as mysql , no further action is required. If you unpacked the distribution as root , its contents will be owned by root. Change its ownership to mysql by executing the following commands as root in the installation directory:. The first command changes the owner attribute of the files to the mysql user. The second changes the group attribute to the mysql group. If you run the command as root , include the --user option as shown. If you run the command while logged in as that user, you can omit the --user option.

    The command should create the data directory and its contents with mysql as the owner. After creating or updating the grant tables, you need to restart the server manually. Most of the MySQL installation can be owned by root if you like. The exception is that the data directory must be owned by mysql. To accomplish this, run the following commands as root in the installation directory:.

    If you would like to use mysqlaccess and have the MySQL distribution in some non-standard location, you must change the location where mysqlaccess expects to find the mysql client. Search for a line that looks like this:. Change the path to reflect the location where mysql actually is stored on your system. If you do not do this, a Broken pipe error will occur when you run mysqlaccess. After everything has been unpacked and installed, you should test your distribution. To start the MySQL server, use the following command:. If you run the command as root , you must use the --user option as shown.

    The value of the option is the name of the login account that you created in the first step to use for running the server. If you run the command while logged in as mysql , you can omit the --user option. Before you proceed with an installation from source, first check whether our binary is available for your platform and whether it works for you. We put a great deal of effort into ensuring that our binaries are built with the best possible options. If you have only gcc 2. A good make program. GNU make is always recommended and is sometimes required.

    BSD make fails, and vendor-provided make implementations may fail as well. If you have problems, we recommend GNU make 3. If you are using a version of gcc recent enough to understand the -fno-exceptions option, it is very important that you use this option. Otherwise, you may compile a binary that crashes randomly.

    We also recommend that you use -felide-constructors and -fno-rtti along with -fno-exceptions. When in doubt, do the following:. The basic commands that you must execute to install a MySQL source distribution are:. This makes a binary RPM that you can install. For older versions of RPM, you may have to replace the command rpmbuild with rpm instead. A more detailed version of the preceding description for installing MySQL from a source distribution follows:. Perform the following steps as the mysql user, except as noted. You can use the following alternative command to uncompress and extract the distribution:.

    Change location into the top-level directory of the unpacked distribution:. Note that currently you must configure and build MySQL from this top-level directory. You cannot build it in a different directory. When you run configure , you might want to specify other options. If configure fails and you are going to send mail to a MySQL mailing list to ask for assistance, please include any lines from config. Also include the last couple of lines of output from configure.

    You might need to run this command as root. If you want to set up an option file, use one of those present in the support-files directory as a template. If you ran the make install command as root , the installed files will be owned by root. Ensure that the installation is accessible to mysql by executing the following commands as root in the installation directory:.

    After everything has been installed, you should test your distribution. If you run the command as root , you should use the --user option as shown. The configure script gives you a great deal of control over how you configure a MySQL source distribution. Typically you do this using options on the configure command line.

    You can also affect configure using certain environment variables. For a full list of options supported by configure , run this command:. A list of the available configure options is provided in the table below. Some of the configure options available are described here:. To compile just the MySQL client libraries and client programs and not the server, use the --without-server option:. The compile step should still try to build all clients, but you can ignore any warnings about files such as mysql.

    If make stops, try make -k to tell it to continue with the rest of the build even if errors occur. If you want to build the embedded MySQL library libmysqld. You can also specify the installation directory and data directory locations at server startup time by using the --basedir and --datadir options. These can be given on the command line or in an MySQL option file, although it is more common to use an option file.

    The socket filename must be an absolute pathname. You can also change the location of mysql. If you want to compile statically linked programs for example, to make a binary distribution, to get better performance, or to work around problems with some Red Hat Linux distributions , run configure like this:. This may be a good thing to do even if you have those libraries installed. Some versions of them have caused strange problems for MySQL users in the past.

    The following list indicates some compilers and environment variable settings that are commonly used with each one. In most cases, you can get a reasonably optimized MySQL binary by using the options from the preceding list and adding the following options to the configure line:. The full configure line would, in other words, be something like the following for all recent gcc versions:. There are some configuration settings you can tweak to build an even faster binary, but these are only for advanced users.

    If the build fails and produces errors about your compiler or linker not being able to create the shared library libmysqlclient. N where N is a version number , you can work around this problem by giving the --disable-shared option to configure. In this case, configure does not build a shared libmysqlclient.

    N library. To change the default set, use the --with-charset option:. CHARSET may be one of binary , armscii8 , ascii , big5 , cp , cp , cp , cp , cp , cp , cp , cp , dec8 , eucjpms , euckr , gb , gbk , geostd8 , greek , hebrew , hp8 , keybcs2 , koi8r , koi8u , latin1 , latin2 , latin5 , latin7 , macce , macroman , sjis , swe7 , tis , ucs2 , ujis , utf8. Additional character sets might be available. Check the output from. The default collation may also be specified. To change this, use the --with-collation option:. To change both the character set and the collation, use both the --with-charset and --with-collation options.

    The collation must be a legal collation for the character set. Your indexes may be sorted incorrectly otherwise. LIST is one of the following:. To configure MySQL with debugging code, use the --with-debug option:. This causes a safe memory allocator to be included that can find some errors and that provides output about what is happening.

    This causes the Bison parser that is used to process SQL statements to dump a parser trace to the server's standard error output. Typically, this output is written to the error log. If your client programs are using threads, you must compile a thread-safe version of the MySQL client library with the --enable-thread-safe-client configure option.

    The value no explicitly disables compression support. A DIR pathname specifies where to find the compression library sources. It is possible to build MySQL 5. This option causes the variables that store table row counts to be declared as unsigned long long rather than unsigned long. This enables tables to hold up to approximately 1. Run configure with the --disable-grant-options option to cause the the --bootstrap , --skip-grant-tables , and --init-file options for mysqld to be disabled. For Windows, the configure. The capability is available as of MySQL 5. The option was added in MySQL 5.

    You should read this section only if you are interested in helping us test our new code. If you just want to get MySQL up and running on your system, you should use a standard release distribution either a binary or source distribution. To obtain the most recent development source tree, you first need to download and install Bazaar.

    Instructions for downloading and installing Bazaar on the different platforms are available on the Bazaar website. Although some platforms come with their own make implementations, it is highly recommended that you use GNU make. It may already be available on your system as gmake. You should use the latest version of bison where possible. Version 1. There have been reported problems with bison 1. If you experience problems, upgrade to a later, rather than earlier, version. Versions of bison older than 1.

    The maximum table size is not actually exceeded; the error is caused by bugs in older versions of bison. Net 7. Once you have the necessary tools installed, you first need to create a local branch of the MySQL source code on your machine:. If you do not already have a Bazaar repository directory set up, you need to initialize a new directory:. Once you have an initialized directory, you can branch from the public MySQL server repositories.

    To create a branch of a specific version:. The initial download will take some time to complete, depending on the speed of your connection. Please be patient. Once you have downloaded the first tree, additional trees should take significantly less time to download. When building from the Bazaar branch, you may want to create a copy of your active branch so that you can make configuration and other changes without affecting the original branch contents.

    You can achieve this by branching from the original branch:. Once you have the local branch, you can start to build MySQL server from the source code. The following example shows the typical commands required to configure a source tree. The first cd command changes location into the top-level directory of the tree; replace mysql You can do this by running the following command from the main source directory:.

    You can omit this lines if you do not require InnoDB support. If you get some strange errors during this stage, verify that you have the correct version of the libtool installed. To compile on a different architecture, modify the script by removing flags that are Pentium-specific, or use another script that may be more appropriate. They are not officially maintained and their contents may change from release to release. When the build is done, run make install. Be careful with this on a production machine; the command may overwrite your live release installation.

    If you have another installation of MySQL, we recommend that you run. Play hard with your new installation and try to make the new features crash. Start by running make test. If you have installed the latest versions of the required GNU tools, and they crash trying to process our configuration files, please report that also. However, if you execute aclocal and get a command not found error or a similar problem, do not report it.

    Instead, make sure that all the necessary tools are installed and that your PATH variable is set correctly so that your shell can find them. After initially copying the repository with bzr to obtain the source tree, you should use pull option to periodically update your local copy. To do this any time after you have set up the repository, use this command:.

    A Step-By-Step Guide To Installing And Securing The Tru64 Unix Operating System Version 5.1 A Step-By-Step Guide To Installing And Securing The Tru64 Unix Operating System Version 5.1
    A Step-By-Step Guide To Installing And Securing The Tru64 Unix Operating System Version 5.1 A Step-By-Step Guide To Installing And Securing The Tru64 Unix Operating System Version 5.1
    A Step-By-Step Guide To Installing And Securing The Tru64 Unix Operating System Version 5.1 A Step-By-Step Guide To Installing And Securing The Tru64 Unix Operating System Version 5.1
    A Step-By-Step Guide To Installing And Securing The Tru64 Unix Operating System Version 5.1 A Step-By-Step Guide To Installing And Securing The Tru64 Unix Operating System Version 5.1
    A Step-By-Step Guide To Installing And Securing The Tru64 Unix Operating System Version 5.1 A Step-By-Step Guide To Installing And Securing The Tru64 Unix Operating System Version 5.1

Related A Step-By-Step Guide To Installing And Securing The Tru64 Unix Operating System Version 5.1



Copyright 2019 - All Right Reserved