`

MySql noinstall win32 使用

阅读更多
  1. cd "mysql-5.1.35-win32\bin"
    
    
    mysqld.exe --console
     
  2. # Example MySQL config file for medium systems.
    
    
    #
    
    
    # This is for a system with little memory (32M - 64M) where MySQL plays
    
    
    # an important part, or systems up to 128M where MySQL is used together with
    
    
    # other programs (such as a web server)
    
    
    #
    
    
    # You can copy this file to
    
    
    # /etc/my.cnf to set global options,
    
    
    # mysql-data-dir/my.cnf to set server-specific options (in this
    
    
    # installation this directory is C:\mysql\data) or
    
    
    # ~/.my.cnf to set user-specific options.
    
    
    #
    
    
    # In this file, you can use all long options that a program supports.
    
    
    # If you want to know which options a program supports, run the program
    
    
    # with the "--help" option.
    
    
    
    
    
    # The following options will be passed to all MySQL clients
    
    
    [client]
    
    
    #password	= your_password
    
    
    port		= 3306
    
    
    socket		= /tmp/mysql.sock
    
    
    
    
    
    # Here follows entries for some specific programs
    
    
    
    
    
    # The MySQL server
    
    
    [mysqld]
    
    
    basedir=F:/JavaRes/mysql-noinstall-5.1.35-win32/mysql-5.1.35-win32
    
    
    datadir=F:/JavaRes/mysql-noinstall-5.1.35-win32/mysql-5.1.35-win32/Data
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    port		= 3306
    
    
    socket		= /tmp/mysql.sock
    
    
    skip-locking
    
    
    key_buffer_size = 16M
    
    
    max_allowed_packet = 1M
    
    
    table_open_cache = 64
    
    
    sort_buffer_size = 512K
    
    
    net_buffer_length = 8K
    
    
    read_buffer_size = 256K
    
    
    read_rnd_buffer_size = 512K
    
    
    myisam_sort_buffer_size = 8M
    
    
    
    
    
    # Don't listen on a TCP/IP port at all. This can be a security enhancement,
    
    
    # if all processes that need to connect to mysqld run on the same host.
    
    
    # All interaction with mysqld must be made via Unix sockets or named pipes.
    
    
    # Note that using this option without enabling named pipes on Windows
    
    
    # (via the "enable-named-pipe" option) will render mysqld useless!
    
    
    # 
    
    
    #skip-networking
    
    
    
    
    
    # Replication Master Server (default)
    
    
    # binary logging is required for replication
    
    
    log-bin=mysql-bin
    
    
    
    
    
    # binary logging format - mixed recommended
    
    
    binlog_format=mixed
    
    
    
    
    
    # required unique id between 1 and 2^32 - 1
    
    
    # defaults to 1 if master-host is not set
    
    
    # but will not function as a master if omitted
    
    
    server-id	= 1
    
    
    
    
    
    # Replication Slave (comment out master section to use this)
    
    
    #
    
    
    # To configure this host as a replication slave, you can choose between
    
    
    # two methods :
    
    
    #
    
    
    # 1) Use the CHANGE MASTER TO command (fully described in our manual) -
    
    
    #    the syntax is:
    
    
    #
    
    
    #    CHANGE MASTER TO MASTER_HOST=<host>, MASTER_PORT=<port>,
    
    
    #    MASTER_USER=<user>, MASTER_PASSWORD=<password> ;
    
    
    #
    
    
    #    where you replace <host>, <user>, <password> by quoted strings and
    
    
    #    <port> by the master's port number (3306 by default).
    
    
    #
    
    
    #    Example:
    
    
    #
    
    
    #    CHANGE MASTER TO MASTER_HOST='125.564.12.1', MASTER_PORT=3306,
    
    
    #    MASTER_USER='joe', MASTER_PASSWORD='secret';
    
    
    #
    
    
    # OR
    
    
    #
    
    
    # 2) Set the variables below. However, in case you choose this method, then
    
    
    #    start replication for the first time (even unsuccessfully, for example
    
    
    #    if you mistyped the password in master-password and the slave fails to
    
    
    #    connect), the slave will create a master.info file, and any later
    
    
    #    change in this file to the variables' values below will be ignored and
    
    
    #    overridden by the content of the master.info file, unless you shutdown
    
    
    #    the slave server, delete master.info and restart the slaver server.
    
    
    #    For that reason, you may want to leave the lines below untouched
    
    
    #    (commented) and instead use CHANGE MASTER TO (see above)
    
    
    #
    
    
    # required unique id between 2 and 2^32 - 1
    
    
    # (and different from the master)
    
    
    # defaults to 2 if master-host is set
    
    
    # but will not function as a slave if omitted
    
    
    #server-id       = 2
    
    
    #
    
    
    # The replication master for this slave - required
    
    
    #master-host     =   <hostname>
    
    
    #
    
    
    # The username the slave will use for authentication when connecting
    
    
    # to the master - required
    
    
    #master-user     =   <username>
    
    
    #
    
    
    # The password the slave will authenticate with when connecting to
    
    
    # the master - required
    
    
    #master-password =   <password>
    
    
    #
    
    
    # The port the master is listening on.
    
    
    # optional - defaults to 3306
    
    
    #master-port     =  <port>
    
    
    #
    
    
    # binary logging - not required for slaves, but recommended
    
    
    #log-bin=mysql-bin
    
    
    
    
    
    # Point the following paths to different dedicated disks
    
    
    #tmpdir		= /tmp/		
    
    
    #log-update 	= /path-to-dedicated-directory/hostname
    
    
    
    
    
    # Uncomment the following if you are using InnoDB tables
    
    
    #innodb_data_home_dir = C:\mysql\data/
    
    
    #innodb_data_file_path = ibdata1:10M:autoextend
    
    
    #innodb_log_group_home_dir = C:\mysql\data/
    
    
    # You can set .._buffer_pool_size up to 50 - 80 %
    
    
    # of RAM but beware of setting memory usage too high
    
    
    #innodb_buffer_pool_size = 16M
    
    
    #innodb_additional_mem_pool_size = 2M
    
    
    # Set .._log_file_size to 25 % of buffer pool size
    
    
    #innodb_log_file_size = 5M
    
    
    #innodb_log_buffer_size = 8M
    
    
    #innodb_flush_log_at_trx_commit = 1
    
    
    #innodb_lock_wait_timeout = 50
    
    
    
    
    
    [mysqldump]
    
    
    quick
    
    
    max_allowed_packet = 16M
    
    
    
    
    
    [mysql]
    
    
    no-beep
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    no-auto-rehash
    
    
    # Remove the next comment character if you are not familiar with SQL
    
    
    #safe-updates
    
    
    
    
    
    [myisamchk]
    
    
    key_buffer_size = 20M
    
    
    sort_buffer_size = 20M
    
    
    read_buffer = 2M
    
    
    write_buffer = 2M
    
    
    
    
    
    [mysqlhotcopy]
    
    
    interactive-timeout
    
    
    
     
  3. mysqld install
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Service successfully installed.
    
    
    
    
    
    net start mysql
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    The MySQL service is starting.
    
    
    The MySQL service was started successfully.
    
    
    mysql -u root -p
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Enter password
    
    
    Welcome to the MySQL monitor.  Commands end with ; or g.
    
    
    Your MySQL connection id is 1
    
    
    Server version 5.1.34-community MySQL Community Server (GPL)
    
    
    
    
    
    Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.
    
    
    
    
    
    mysql
    
    
    
    
    
    mysql exit
    
    
    Bye
    
    
    
    
    
    net stop mysql
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    The MySQL service is stopping.
    
    
    The MySQL service was stopped successfully.
    
    
    
    
    
    mysqld remove
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Service successfully removed.
     
分享到:
评论

相关推荐

    mysql-connector-c-noinstall-6.0.2-win32.zip

    在这个特定的压缩包 "mysql-connector-c-noinstall-6.0.2-win32.zip" 中,我们看到的是针对 Windows 32 位系统的 Connector/C 的非安装版本。这个版本无需通过传统安装程序来设置,而是可以直接解压并使用,方便...

    mysql-noinstall-5.1.71-win32.part02.rar

    Mysql绿色版安装包,共包括mysql-noinstall-5.1.71-win32.part01.rar和mysql-noinstall-5.1.71-win32.part02.rar,2部分。

    mysql-connector-odbc-noinstall-5.1.8-win32

    "mysql-connector-odbc-noinstall-5.1.8-win32" 是这个组件的一个特定版本,适用于 32 位的 Windows 操作系统。 MySQL Connector/ODBC 的主要功能包括: 1. **数据源管理**:安装后,用户可以通过 Windows 的...

    mysql-connector-c++-noinstall-1.1.4-win32.zip

    这款软件包`mysql-connector-c++-noinstall-1.1.4-win32.zip`包含了MySQL Connector/C++ 1.1.4版本,专为Windows 32位系统设计。 MySQL Connector/C++的主要功能包括: 1. **连接管理**:提供连接到MySQL服务器的...

    mysql-noinstall-5.1.73-win32.zip

    便携版云盘下载链接 mysql-noinstall-5.1.73-win32.zip

    mysql-noinstall-5.0.22-win32.zip客户端

    这个"mysql-noinstall-5.0.22-win32.zip"文件是一个便携式的MySQL客户端,无需安装即可在Windows 32位系统上运行,方便用户进行数据库管理、查询以及数据操作。 首先,我们要理解MySQL的基本概念。MySQL是一个关系...

    mysql-noinstall-5.1.73-win32.7z

    1. 将下载的 mysql-noinstall-5.1.73-win32.zip 解压至需要安装的位置, 如: C:\Program Files; 2. 在安装文件夹下找到 my-small.ini 配置文件, 将其重命名为 my.ini , 打开进行编辑, 在 [client] 与 [mysqld] 下均...

    mysql-connector-odbc-noinstall-8.0.19-win32.zip

    "mysql-connector-odbc-noinstall-8.0.19-win32.zip" 是针对Windows 32位系统的MySQL Connector/ODBC的非安装版本,它包含了所有必要的驱动程序和文件,用户只需下载并解压即可使用,省去了安装过程,非常适合开发者...

    mysql-gui-tools-noinstall-5.0-r17-win32.rar

    这个压缩包"mysql-gui-tools-noinstall-5.0-r17-win32.rar"包含了四个核心组件,分别适用于不同的数据库任务: 1. **MySQL System Tray Monitor**: 这是MySQL的系统托盘监控工具,允许用户在Windows任务栏的通知...

    mysql-connector-c-noinstall-6.0.2-win32-vs2005.zip

    这个特定的版本 "mysql-connector-c-noinstall-6.0.2-win32-vs2005.zip" 是为 Windows 操作系统设计的,适用于 Visual Studio 2005 开发环境。以下将详细解析这个压缩包文件中的关键知识点: 1. **MySQL Connector/...

    mysql-connector-odbc-noinstall-8.0.26-win32.zip

    在本例中,我们关注的是“mysql-connector-odbc-noinstall-8.0.26-win32.zip”这个压缩包,这是一款适用于 Windows 32 位操作系统的 MySQL Connector/ODBC 驱动程序,版本号为8.0.26。 **MySQL Connector/ODBC 的...

    mysql-essential-5.0.22-win32.msi

    在安装"mysql-essential-5.0.22-win32.msi"后,用户可以配置MySQL服务器,创建数据库,分配用户权限,并使用MySQL提供的命令行客户端或图形界面工具(如MySQL Workbench)来管理数据库。需要注意的是,由于版本较旧...

    mysql-connector-odbc-noinstall-5.2.2-win32.zip

    在Windows 32位系统上,这个压缩包“mysql-connector-odbc-noinstall-5.2.2-win32.zip”包含了该驱动的安装文件,允许用户无需安装过程即可使用。 1. **MySQL Connector/ODBC**:这是MySQL官方提供的一个ODBC驱动...

    mysql-connector-odbc-5.1.6-win32.rar_MYSQL_mySQL ODBC_mysql ODBC

    总之,"mysql-connector-odbc-5.1.6-win32.rar"提供了在32位Windows系统上使用ODBC接口连接MySQL数据库的解决方案。无论是开发者还是数据库管理员,这个驱动程序都极大地简化了与MySQL的交互,提升了工作效率。通过...

    mysql-workbench-oss-5.2.11-beta-win32-noinstall.zip

    在这个版本"mysql-workbench-oss-5.2.11-beta-win32-noinstall.zip"中,我们讨论的是MySQL Workbench的开源版本5.2.11 Beta,特别针对Windows 32位操作系统,并且是免安装版。 首先,MySQL Workbench的SQL开发环境...

    最新 mysql connector odbc noinstall 5.2.6-win32.zip

    在这个特定的压缩包“mysql connector odbc noinstall 5.2.6-win32.zip”中,我们得到了用于32位Windows系统的MySQL Connector/ODBC的绿色免安装版本。 MySQL Connector/ODBC的主要功能是作为桥梁,允许应用程序...

    mysql-connector-odbc-noinstall-5.3.2-win32

    标题中的 "mysql-connector-odbc-noinstall-5.3.2-win32" 指的是 MySQL Connector/ODBC 的一个特定版本,即 5.3.2,适用于 32 位的 Windows 系统,并且是免安装版本。 在 Windows 上,MySQL Connector/ODBC 提供了...

    mysql-connector-odbc-noinstall-5.1.11-win32.zip

    在使用 "mysql-connector-odbc-noinstall-5.1.11-win32.zip" 文件时,用户通常会进行以下步骤: 1. **解压**:首先,你需要将压缩文件解压到本地文件系统中,这通常可以通过各种解压工具如 WinRAR 或 7-Zip 来完成...

    mysql-noinstall-5.1.73-winx64.zi

    便携版win64 mysql5.1下载链接文件,分享给需要的朋友。

    mysql-connector-odbc-8.0.33-win32

    常用的odbc连接mysql数据库的驱动mysql-connector-odbc-8.0.33-win32 32位版本,支持VB ,VC等开发平台

Global site tag (gtag.js) - Google Analytics