通常我曾经下载并安装xampp或wamp,但这次我尝试单独设置apache24
,php
。
好的apache和php工作正常,除了我想安装mysql。
我从以下链接下载并安装了mysql 64bit MSI安装程序
http://dev.mysql.com/downloads/mysql/
但之后我不知道该怎么做因为我无法连接do数据库,什么是数据库用户名密码等等。
我试图通过互联网查找,我发现我必须在my.ini中做一些更改,但我没有my.ini,而是我有my-default.ini,所以我把端口目录的值等等。 / p>
如果有人可以指引我走右路或给我链接,那么用逐步指令配置mysql的最佳方法是什么。
我-Default.ini中
# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html
# *** DO NOT EDIT THIS FILE. It's a template which will be copied to the
# *** default location during install, and will be replaced if you
# *** upgrade to a newer version of MySQL.
[mysqld]
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M
# Remove leading # to turn on a very important data integrity option: logging
# changes to the binary log between backups.
# log_bin
# These are commonly set, remove the # and set as required.
basedir = C:/mysql/
datadir = C:/mysql/data
port = 3306
# server_id = .....
# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 128M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES