mysql download & mysql front

  1. http://dev.mysql.com/downloads/file/?id=467608

    Click the first link address to enter the MySQL official website, click "Downloads" to download the Tab page, and enter the download interface

    How to download the installable version of MySQL database from the official website
  2.  

    Find Community and click on it, the following page appears

    How to download the installable version of MySQL database from the official website
  3.  

    View the options on the lower left corresponding to Community, and click the fourth "MySQL Community Server"

    How to download the installable version of MySQL database from the official website
  4.  

    Go to the MySQL option download list, select Windows (x86, 32-bit), MSI Installer

    How to download the installable version of MySQL database from the official website
  5.  

    Click the "Download" button in the list in the fifth step to enter the download page

    How to download the installable version of MySQL database from the official website
  6.  

    The download page has a registration and login button, as well as an option without login (No thanks, just start my download.), select the option without registration and login to enter the download state

    Download software:

    MySQL Server 5.0.18 http://dev.mysql.com/downloads/mysql/5.0.html

    Download MySQL Server and install it on your local machine.

    The following two are Windows GUI tools.

    MySQL Query Browser 1.1.20 http://dev.mysql.com/downloads/query-browser/1.1.html

    MySQL Control Center 0.9.4 http://mysql.easynet.be/Downloads/MySQLCC/mysqlcc-0.9.4-win32.zip

     

     

    Steps to configure MySQL:

    1. Run bin/MySQLInstanceConfig.exe in the MySQL Server installation directory. The wizard interface shown below appears

        .

     

    Click "Next" to go to the next step.

    2.       如果MySQLInstanceConfig在MySQL Server的安装目录下找到my.ini文件,就会询问:是重新配置MySQL还是删除MySQL service(同时删除my.ini文件)。

        

     

    否则的话,出现下面的配置界面:

     

    Detailed Configuration:自己配置大部分,更好地控制MySQL Server,让它更好地发挥作用。

    Standard Configuration:系统配置大部分,不希望关注很多的Server配置。

    这里选择“Detailed Configuration”,下一步(Next)。

    3.       出现选择服务类型:

        

     

    Developer Machine:主要为了个人使用,占用系统最少的资源。

    Server Machine:主要用于像FTP,email,web服务器等等,耗用系统较多的资源。

    Dedicated MySQL Server Machine:只用作MySQL服务器,不运行其他程序。耗用系统所有可用的资源。

    个人学习研究用,选“Developer Machine”,下一步(Next)。

    4.       出现设置数据库用法:

        

     

    Multifunctional Database:使得InnoDB和MyISAM存储引擎都可用,且资源平分。

    Transactional Database Only:使得InnoDB和MyISAM存储引擎都可用,但是InnoDB使用较多资源。

    Non-Transactional Database Only:使InnoDB不可用,所有资源分配给MyISAM。

    选择“Multifunctional Database”,下一步(Next)。

    5.       设置InnoDB datafile存放位置,默认即可,下一步(Next)。

        

       

    6.       出现选择并发连接设置对话框:

        

     

    Decision Support(DSS)/OLAP:不需要大量的并发连接(20个左右)。默认值为100。

    Online Transaction Processing(OLTP):需要大量的并发连接,默认值为500。

    Manual Setting:个人设定了。

    选择“Manual Setting”,从下拉框中选择10,下一步(Next).

    7.       网络设定:

        

     

    默认的端口号为3306,如果端口被占用或不希望使用3306,可以更换。下一步(Next)。

    8.       选择缺省的字符集:

        

     

    Standard Character Set:Latin1为默认的字符集。主要用于西方欧洲国家的语言。

    Best Support For Multilingualism:UTF8为默认的字符集。

    Manual Selected Default Character Set / Collation:个人设定。(如果你希望数据库支持汉字,请选择gb2312)。

    选择缺省的“Standard Character Set”,下一步(Next)。

    9.       设置服务名称,最好将“Include Bin Directory in Windows PATH”勾选:

        

       

    10.    密码的设置,其余为默认:

        

       

    11.    执行,使配置生效。

        

       

      

     

    配置过程中出现的问题:

    1. 在最后一个环节,执行到第四步,出现如下所示的错误。

      

     

    此时,按Skip跳出,再重新执行MySQLInstanceConfig,重复上次的选项,执行就可以通过了。

    这个主要出现在remove instance之后。

    2. Client does not support authentication protocol.

      工具连接数据库时,若出现上述信息,请到命令行方式下对密码进行转换:

     mysql> SET PASSWORD FOR ‘root’@’localhost’ = OLD_PASSWORD(‘newpassword’);

     4.1版本之后的密码采用 password hashing algorithm,有些工具连接数据库可能需要转换。

    3连接MySQL服务器时,如果不是同一台PC机,出现连接不上。

       在“设置->控制面板->Windows 防火墙”,点击“例外”标签,“添加端口”后,出现:

     

      

      适当设置范围。端口号为先前设定的端口号。

     

     

    MySQLInstanceConfig的命令行参数:

    To use the Instance Configuration Wizard from the command line the following parameters can be used. These parameters have to be set to run from the command line

    -n<product name>

    -p<path of installation> (no /bin)

    -v<version>

     

    Actions to perform

    -i  (install instance)

    -r  (remove instance)

    -s  (stop instance)

    -q  (be quiet)

    -lfilename  (write log file)

     

    When launched manually, these can also be submitted

    -t<.cnf template filename>

    -c<.cnf filename>

     

    Use the following option to define the parameters for the config file generation.

    ServiceName=$

    AddBinToPath={yes | no}

    ServerType={DEVELOPMENT | SERVER | DEDICATED}

    DatabaseType={MIXED | INNODB | MYISAM}

    ConnectionUsage={DSS | OLTP}

    ConnectionCount=#

    SkipNetworking={yes | no}

    Port=#

    StrictMode={yes | no}

    Charset=$

    RootPassword=$

    RootCurrentPassword=$

     

    The return codes of the Wizard in case of an error are.

    2 ... Configuration template file cannot be found.

    3 ... The Windows service entry cannot be created.

    4 ... Could not connect to the Service Control Manager.

    5 ... The MySQL service cannot be started.

    6 ... The MySQL service cannot be stopped.

    7 ... The security settings cannot be applied.

    8 ... The configuration file cannot be written.

    9 ... The Windows service entry cannot be removed.

     

    Examples:

    The following command installs a MySQL Server 5.0 instance from the directory 
    C:/Programme/MySQL/MySQL Server 5.0 using the service name MySQLCust and settingthe root password to 1234.

    MySQLInstanceConfig.exe -i -q "-lC:/mysql_install_log.txt" "-nMySQL Server 5.0" 
    "-pC:/Programme/MySQL/MySQL Server 5.0" -v5.0.13 "-t../../res/my-template.ini" "-cC:/mytest.ini" 
    ServerType=DEVELOPMENT DatabaseType=MIXED ConnectionUsage=DSS Port=3311 
    ServiceName=MySQLCust RootPassword=1234

     

    If the server can not be started, the exit code is 2.

    The following command removes the server instance with the name MySQLCust.

    MySQLInstanceConfig.exe -r -q "-lC:/mysql_install_log.txt" "-nMySQL Server 5.0" 
    "-pC:/Programme/MySQL/MySQL Server 5.0" -v5.0.13 "-cC:/mytest.ini" ServiceName=MySQLCust

     

    Output into the log file:

    ----------------------------------------

    Welcome to the MySQL Server Instance Configuration Wizard 1.0.6

    Date: 2005-10-19 21:53:16

    Installing service ...

    Product Name:         MySQL Server 5.0

    Version:              5.0.13

    Installation Path:    C:/Programme/MySQL/MySQL Server 5.0/

     

    Creating configuration file C:/mytest.ini using template ../../res/my-template.ini.

    Options:

    DEVELOPMENT

    MIXED

    DSS

    STRICTMODE

     

    Variables:

    port: 3311

    default-character-set: latin1

    basedir: "C:/Programme/MySQL/MySQL Server 5.0/"

    datadir: "C:/Programme/MySQL/MySQL Server 5.0/Data/"

     

     

    Creating Windows service entry.

    Service Name: "MySQLCust"

    Parameters:   "C:/Programme/MySQL/MySQL Server 5.0/bin/mysqld-nt" --defaults-file="C:/mytest.ini" MySQLCust.

    Windows service MySQLCust installed.

    Service started successfully.

    The security settings could not be applied to the database because the connection has failed with the following error.

     

    Error Nr. 1045

    Access denied for user 'root'@'localhost' (using password: NO)

     

    ----------------------------------------

    Welcome to the MySQL Server Instance Configuration Wizard 1.0.6

    Date: 2005-10-19 21:53:46

     

    Removing Service...

     

    Instance stopped.

    Windows Service removed.

    Service Name: MySQLCust

    Configuration file removed.

    Filename: C:/mytest.ini

    1. Double-click to run the downloaded MySQL-Front installer.

      Download and installation of MySQL-Front
    2.  

      The installation wizard interface appears, as shown in the figure, click Next.

      Download and installation of MySQL-Front
    3.  

      Select the installation directory, Xiaobian is installed under the D drive. Click Next.

      Download and installation of MySQL-Front
    4.  

      Give the software a name. Click Next.

      Download and installation of MySQL-Front
    5.  

      Choose whether to install additional tasks. Desktop Icon is to create a desktop icon. The editor selects it by default and clicks Next.

      Download and installation of MySQL-Front
    6.  

      Confirm the previous selection and click Install.

      Download and installation of MySQL-Front
    7.  

      The installation is complete, as shown in the figure. Check Launch MySQL-Front and click Finish.

      Download and installation of MySQL-Front
    8.  

      Appears, the running interface of MySQL-Front. Fill in the added information, name: test, Host is the ip address of the server, and Xiaobian fills in localhost as the local ip. The default port number is 3306, and the connection type is direct. The user password is the user password when installing mysql. Click OK.

      Download and installation of MySQL-Front
    9.  

      Select the login information you just created. Click to open.

      Download and installation of MySQL-Front
    10.  

      The interface as shown in the figure appears, which proves that the mysql database has been successfully logged in.

      Download and installation of MySQL-Front
       
     

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326469274&siteId=291194637