MySQL Install

Syndicate content
Forum for Installing and Configuring MySQL.
Updated: 8 hours 17 min ago

my.ini - boosting speed issue (no replies)

February 8, 2012 - 08:49
Hi Guys,
I'm having the following issue with one PC on which I want to fine tune the performance of MySQL database engine. I'm trying to modify values in MY.INI file, but if I try to copy a good configuration from other PC - server doesn't switch on. I also tried to used the MY.INI templates provided with MySQL, but they also don't work (server doesn't switch on again).

So, the PC is like described below. And I need to use it as the DB engine for some simulation tool. It will not have more than 5-10 connections, and all the computing power should be used for it.

PC:
Intel Core i5 M560 @2,67GHz
1.17Ghz

System:
Win XP SP 3
1.86GB RAM

MySQL ver:
MySQL 5.14.


Below is the MY.INI file that works (but I want to boost the speed).
Thank you in advance!



# MySQL Server Instance Configuration File
# ----------------------------------------------------------------------
# Generated by the MySQL Server Instance Configuration Wizard
#
#
# Installation Instructions
# ----------------------------------------------------------------------
#
# On Linux you can copy this file to /etc/my.cnf to set global options,
# mysql-data-dir/my.cnf to set server-specific options
# (@localstatedir@ for this installation) or to
# ~/.my.cnf to set user-specific options.
#
# On Windows you should keep this file in the installation directory
# of your server (e.g. C:\Program Files\MySQL\MySQL Server X.Y). To
# make sure the server reads the config file use the startup option
# "--defaults-file".
#
# To run run the server from the command line, execute this in a
# command line shell, e.g.
# mysqld --defaults-file="C:\Program Files\MySQL\MySQL Server X.Y\my.ini"
#
# To install the server as a Windows service manually, execute this in a
# command line shell, e.g.
# mysqld --install MySQLXY --defaults-file="C:\Program Files\MySQL\MySQL Server X.Y\my.ini"
#
# And then execute this in a command line shell to start the server, e.g.
# net start MySQLXY
#
#
# Guildlines for editing this file
# ----------------------------------------------------------------------
#
# In this file, you can use all long options that the program supports.
# If you want to know the options a program supports, start the program
# with the "--help" option.
#
# More detailed information about the individual options can also be
# found in the manual.
#
#
# CLIENT SECTION
# ----------------------------------------------------------------------
#
# The following options will be read by MySQL client applications.
# Note that only client applications shipped by MySQL are guaranteed
# to read this section. If you want your own MySQL client program to
# honor these values, you need to specify it as an option during the
# MySQL client library initialization.
#
[client]

port=3306

[mysql]

default-character-set=latin1


# SERVER SECTION
# ----------------------------------------------------------------------
#
# The following options will be read by the MySQL Server. Make sure that
# you have installed the server correctly (see above) so it reads this
# file.
#
[mysqld]

# The TCP/IP Port the MySQL Server will listen on
port=3306


#Path to installation directory. All paths are usually resolved relative to this.
basedir="E:/MYSql/"

#Path to the database root
datadir="E:/MySql/DATAFOLDER/Data/"

# The default character set that will be used when a new schema or table is
# created and no character set is defined
character-set-server=latin1

# The default storage engine that will be used when create new tables when
default-storage-engine=INNODB

# Set the SQL mode to strict
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

# The maximum amount of concurrent sessions the MySQL server will
# allow. One of these connections will be reserved for a user with
# SUPER privileges to allow the administrator to login even if the
# connection limit has been reached.
max_connections=100

# Query cache is used to cache SELECT results and later return them
# without actual executing the same query once again. Having the query
# cache enabled may result in significant speed improvements, if your
# have a lot of identical queries and rarely changing tables. See the
# "Qcache_lowmem_prunes" status variable to check if the current value
# is high enough for your load.
# Note: In case your tables change very often or if your queries are
# textually different every time, the query cache may result in a
# slowdown instead of a performance improvement.
query_cache_size=170M

# The number of open tables for all threads. Increasing this value
# increases the number of file descriptors that mysqld requires.
# Therefore you have to make sure to set the amount of open files
# allowed to at least 4096 in the variable "open-files-limit" in
# section [mysqld_safe]
table_cache=256

# Maximum size for internal (in-memory) temporary tables. If a table
# grows larger than this value, it is automatically converted to disk
# based table This limitation is for a single table. There can be many
# of them.
tmp_table_size=172M


# How many threads we should keep in a cache for reuse. When a client
# disconnects, the client's threads are put in the cache if there aren't
# more than thread_cache_size threads from before. This greatly reduces
# the amount of thread creations needed if you have a lot of new
# connections. (Normally this doesn't give a notable performance
# improvement if you have a good thread implementation.)
thread_cache_size=8

#*** MyISAM Specific options

# The maximum size of the temporary file MySQL is allowed to use while
# recreating the index (during REPAIR, ALTER TABLE or LOAD DATA INFILE.
# If the file-size would be bigger than this, the index will be created
# through the key cache (which is slower).
myisam_max_sort_file_size=100G

# If the temporary file used for fast index creation would be bigger
# than using the key cache by the amount specified here, then prefer the
# key cache method. This is mainly used to force long character keys in
# large tables to use the slower key cache method to create the index.
myisam_sort_buffer_size=344M

# Size of the Key Buffer, used to cache index blocks for MyISAM tables.
# Do not set it larger than 30% of your available memory, as some memory
# is also required by the OS to cache rows. Even if you're not using
# MyISAM tables, you should still set it to 8-64M as it will also be
# used for internal temporary disk tables.
key_buffer_size=267M

# Size of the buffer used for doing full table scans of MyISAM tables.
# Allocated per thread, if a full scan is needed.
read_buffer_size=64K
read_rnd_buffer_size=256K

# This buffer is allocated when MySQL needs to rebuild the index in
# REPAIR, OPTIMZE, ALTER table statements as well as in LOAD DATA INFILE
# into an empty table. It is allocated per thread so be careful with
# large settings.
sort_buffer_size=256K


#*** INNODB Specific options ***


# Use this option if you have a MySQL server with InnoDB support enabled
# but you do not plan to use it. This will save memory and disk space
# and speed up some things.
#skip-innodb

# Additional memory pool that is used by InnoDB to store metadata
# information. If InnoDB requires more memory for this purpose it will
# start to allocate it from the OS. As this is fast enough on most
# recent operating systems, you normally do not need to change this
# value. SHOW INNODB STATUS will display the current amount used.
innodb_additional_mem_pool_size=11M

# If set to 1, InnoDB will flush (fsync) the transaction logs to the
# disk at each commit, which offers full ACID behavior. If you are
# willing to compromise this safety, and you are running small
# transactions, you may set this to 0 or 2 to reduce disk I/O to the
# logs. Value 0 means that the log is only written to the log file and
# the log file flushed to disk approximately once per second. Value 2
# means the log is written to the log file at each commit, but the log
# file is only flushed to disk approximately once per second.
innodb_flush_log_at_trx_commit=1

# The size of the buffer InnoDB uses for buffering log data. As soon as
# it is full, InnoDB will have to flush it to disk. As it is flushed
# once per second anyway, it does not make sense to have it very large
# (even with long transactions).
innodb_log_buffer_size=6M

# InnoDB, unlike MyISAM, uses a buffer pool to cache both indexes and
# row data. The bigger you set this the less disk I/O is needed to
# access data in tables. On a dedicated database server you may set this
# parameter up to 80% of the machine physical memory size. Do not set it
# too large, though, because competition of the physical memory may
# cause paging in the operating system. Note that on 32bit systems you
# might be limited to 2-3.5G of user level memory per process, so do not
# set it too high.
innodb_buffer_pool_size=517M

# Size of each log file in a log group. You should set the combined size
# of log files to about 25%-100% of your buffer pool size to avoid
# unneeded buffer pool flush activity on log file overwrite. However,
# note that a larger logfile size will increase the time needed for the
# recovery process.
innodb_log_file_size=104M

# Number of threads allowed inside the InnoDB kernel. The optimal value
# depends highly on the application, hardware as well as the OS
# scheduler properties. A too high value may lead to thread thrashing.
innodb_thread_concurrency=10

Linux install help (no replies)

February 8, 2012 - 07:24
Hello,

I've been trying to get mySQL server 5.0 on Ubuntu 11.10. I want this older version because it is the only compatible version that will work for what I need.

When I do a "apt-get install mysql-server-5.0" I get an error message:
Aborting downgrade from (at least) 5.1 to 5.0.
dpkg: error processing /var/cache/apt/archives/mysql-server-5.0_5.0.32-7etch12_i386.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/mysql-server-5.0_5.0.32-7etch12_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


If I do a "apt-get purge mysql-server-5.0" or a "apt-get purge mysql-server-5.1" I get a message saying they are not installed.

If I type "mysql -V" I get:
mysql Ver 14.12 Distrib 5.0.32, for pc-linux-gnu (i486) using readline 5.2

If I just go ahead and type the command "mysql" I get this common error:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)

I also get the same error as above if I type the command "/etc/init.d/mysql start"


Any thoughts? I'm extremely confused what's going on. Any help is very appreciated.

Cannot create Windows Service for MySQL.Error:0 on windows 7 (1 reply)

February 8, 2012 - 02:39
I had the error:0 while installing mysql and all the various advice didn't work i uninstalled and deleted mysql folders from programs and programdata but nothing was working i was still getting the same problem so I checked in computer services as its the service that couldnt install and realised mysql was still there so i deleted it from the registry and everything worked so if any one is having the same problem especially on windows 7 try this it may help

Mysql dump (no replies)

February 7, 2012 - 19:50
hi,
i am backup my application database.so, i am import my database into mysql using

/usr/local/micro/mysql-5.0/bin/mysql --defaults-file=/usr/local/micro/mysql-5.0/etc/my.ini -u bcroot -p bc_grant command

After my application database is imported into mysql.
then,
executed mysqldump command.
>mysqldump -u username -p database name > file.sql
i got following error,
mysqldump: Got error: 1045: Access denied for user 'bcroot'@'localhost' (using password: YES) when trying to connect.

how can i solve the problem?

clean up MySQL 3 (no replies)

February 6, 2012 - 21:21
I have done installing MySQL Server 5.1, but it doesn't run.
then I found out the PC already have have MySQL Server 3.
how can I clean up MySQL Server 3 ?
I didn't see anything in the Control Panels.
but I can't start MySQL Server 5.1 either.

regards,

Jerry

New Install requires password (10 replies)

February 4, 2012 - 17:01
never mind

Help Please Install Problems (no replies)

February 4, 2012 - 15:57
So I've installed the download and then went to install and everything installs correctly Except for the first thing on the development download. Which is "My SQL Server 5.5.20". Please explain in easy to read terms. New to this software. Thanks for any help that you provide.

Plugin 'InnoDB' registration as a STORAGE ENGINE failed (2 replies)

February 3, 2012 - 07:31
I am installing MySQL 5.5.20 on Windows server 2003. The installation was smooth until it gets to the Configuration.

mysql-server-5.5-win32:6 - Looking for valid template
mysql-server-5.5-win32:13 - Found valid template.
mysql-server-5.5-win32:20 - Attempting to process template.
mysql-server-5.5-win32:26 - Processed template.
mysql-server-5.5-win32:33 - Attempting to configure service.
mysql-server-5.5-win32:40 - Configured service.
mysql-server-5.5-win32:46 - Attempting to start service.
mysql-server-5.5-win32:100 - Unable to configure service.
mysql-server-5.5-win32:100 - Product configuration controller finished configuration.


I extracted following from the event viewer.

Plugin 'InnoDB' init function returned error.
Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
Unknown/unsupported storage engine: INNODB
Aborting
D:\MySQL\MySQL Server 5.5\bin\mysqld: Shutdown complete

For more information, see Help and Support Center at http://www.mysql.com.


Any help is greatly appreciated.

...Joe

From installing the database to a terminalbased development environment (no replies)

February 3, 2012 - 07:17
I've just installed a mysql server which seems to be running.

I am running the mysql server on ubuntu. I have before used mysql on the computers at my school by writing something like:

mysql -h hostname -u username password

Then I get to a mysql prompt where I can run mysql queries and develop my database.

I want to set up something like this on my own computer but I don't know what the next step is. Any hints about what I should do/read up on?

Starting MySQL as a service (no replies)

February 2, 2012 - 14:19
I have just installed MySQL Installer package for Windows.
I am trying to start it as a service.
I am getting errors when I do this.
mysql -u root -p install
Gives me
Plugin 'FEDERATED' is disabled.
The InnoDB memory heap is disabled
*Mutexes and rw-locks use Windows interlocked functions
Compressed tables use zlib 1.2.3
Operating system error number 5 in a file operation
The error means mysqld does nto have the access rights to the directory. It may also be you have created a subdirectory of the same name as a data file.
File name .\ibdata1
File operation call: 'create'.
Cannot continue operation.

I often get these access errors and I do not know why.
Any suggestions?

Problems with Configuration of MySQL 5.5.20 on Windows 2008 R2 (2 replies)

February 2, 2012 - 06:20
Service will not start after setting the "Innodb_file_per_table".
System error 1067 has occurred
bin\mysqld: unknown variable 'Innodb_file_per_table=1'



Troubleshooting my.ini Configuration settings

Wednesday, February 01, 2012
10:25 AM

Server: Windows 2008 R2; x64 bit;
MySQL: Community Server (GPL) 5.5.20 from ORACLE

From Command Line on PTWMyS01

O:\>net start MySQLTest
The MySQLTest service is starting....
The MySQLTest service could not be started.

A system error has occurred.
System error 1067 has occurred.
The process terminated unexpectedly.

O:\>

From PTWMYS01.err file

120201 10:25:04 [Note] Plugin 'FEDERATED' is disabled.
120201 10:25:04 InnoDB: The InnoDB memory heap is disabled
120201 10:25:04 InnoDB: Mutexes and rw_locks use Windows interlocked functions
120201 10:25:04 InnoDB: Compressed tables use zlib 1.2.3
120201 10:25:05 InnoDB: Initializing buffer pool, size = 2.0G
120201 10:25:05 InnoDB: Completed initialization of buffer pool
120201 10:25:05 InnoDB: highest supported file format is Barracuda.
120201 10:25:06 InnoDB: Waiting for the background threads to start
120201 10:25:07 InnoDB: 1.1.8 started; log sequence number 1595675
120201 10:25:07 [ERROR] D:\MySQL\MySQLaux\MySQL Server 5.5\bin\mysqld: unknown variable 'Innodb_file_per_table=1'

120201 10:25:07 [ERROR] Aborting

120201 10:25:07 InnoDB: Starting shutdown...
120201 10:25:07 InnoDB: Shutdown completed; log sequence number 1595675
120201 10:25:07 [Note] D:\MySQL\MySQLaux\MySQL Server 5.5\bin\mysqld: Shutdown complete
120201 10:34:01 [Note] Plugin 'FEDERATED' is disabled.
120201 10:34:01 InnoDB: The InnoDB memory heap is disabled
120201 10:34:01 InnoDB: Mutexes and rw_locks use Windows interlocked functions
120201 10:34:01 InnoDB: Compressed tables use zlib 1.2.3
120201 10:34:01 InnoDB: Initializing buffer pool, size = 2.0G
120201 10:34:01 InnoDB: Completed initialization of buffer pool
120201 10:34:01 InnoDB: highest supported file format is Barracuda.
120201 10:34:02 InnoDB: Waiting for the background threads to start
120201 10:34:03 InnoDB: 1.1.8 started; log sequence number 1595675
120201 10:34:03 [ERROR] D:\MySQL\MySQLaux\MySQL Server 5.5\bin\mysqld: unknown variable 'slave_load_tempdir=T:\MySQL\TEMP'

120201 10:34:03 [ERROR] Aborting

120201 10:34:03 InnoDB: Starting shutdown...
120201 10:34:03 InnoDB: Shutdown completed; log sequence number 1595675
120201 10:34:03 [Note] D:\MySQL\MySQLaux\MySQL Server 5.5\bin\mysqld: Shutdown complete



Parameter as set in My.INI file

# Parameters specific to Seattle Children's Standard
Innodb_file_per_table=1
tmpdir=T:\\MySQL\\Temp
slave_load_tempdir=T:\\MySQL\\TEMP
log-bin=F:\\MySQL\\TRNx\\trnx_bin_log.txt



From Command Line after commenting out "Innodb_file_per_table" and "Slave_load_tempdir" parameters.

O:\>net start MySQLTest
The MySQLTest service is starting..
The MySQLTest service was started successfully.


O:\>mysql -uroot -p***********
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.5.20-log MySQL Community Server (GPL)

Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

Windows XP install fails (12 replies)

February 2, 2012 - 02:56
I have used MySQL a lot in Linux but now I need to install it in Windows XP Home. The document says do this as Administrator so I hit f8 when logging on and selected Safe Mode with networking. I then go to the MSI installer and get this: "The system administrator has set policies to prevent this installation". Where ma I going wrong?

Unable to install MySQL Server on Windows 7 - Error 1067? (3 replies)

January 31, 2012 - 17:34
Hello!

I've been trying to install the MySQL Server for a couple of days now, but
I can't get it working on my computer. The "Instance configuration
wizard" always freezes between steps 2 and 3, just as described in the
first post in this thread:
http://forums.mysql.com/read.php?11,370130,370130#msg-370130

I've tried every step in their discussion, but nothing works for me.
This is:

1. The "unblocking" alternative on the installer (in properties).
2. Tried to run as administrator by right clicking on the .exe in the
folder.
3. I've tried both the 32- and 64-bit versions (I'm using 64-bit
Windows 7).
4. I've tried to start the service from the administration category in
my control panel. There it simply says "error: 1067 - Unexpected
error".

I have 40 GB of free space, of 900 GB total. Does that matter? I have a
pretty good system, in comparison with the requirements, so that sould
not be an issue.

Any help would be much appreciated. Do you know where I can find a log or something (to post on here so you can get the details)? I don't know where to look for logs...

Kind regards,
Jon

Edit: And one more issue is. I'm not sure whether I get totally rid of everything when uninstalling, I mean before I try again. I just use the uninstall button in my control panel and then try to install it again.

Upgrade 5.1 to 5.5 on Linux (no replies)

January 31, 2012 - 09:37
Soon I'll be upgrading from MySQL Community Edition 5.1.57 to 5.5.20 on a CentOS 5.7 server. I'm planning on doing a mysqldump on the server, uninstalling the 5.1.57 RPMs, Installing the 5.5.20 RPMs, and then restoring the data from the mysqldump.

Are there any special steps that I need to consider when doing the mysqldump and subsequent restore? The reason I ask is because I've tried restoring the 5.1.57 data to a MySQL 5.5.20 instance that I installed on my Windows PC and the only way I could get it to restore was by dumping and restoring the mysql database first, running mysql_upgrade, and then doing the dump and restore for the rest of the databases. Will I run into the same situation on CentOS?

Thank you.

Post-Start process error (1 reply)

January 31, 2012 - 07:19
After a power outage yesterday our MySQL sever won't start. We have MySQL version 5.1 running on a Ububtu 10.04 LTS server. When I try to start MySQL it hangs. ps shows the process MySQL Start is running and the syslog shows the same three error messages every few minutes.

Jan 31 13:27:51 read init: mysql main process ended, respawning
Jan 31 13:27:51 read kernel: [17959.779268] type=1505 audit(1328038071.321:96): operation="profile_replace" pid=5333 name="/usr/sbin/mysqld"
Jan 31 13:28:21 read init: mysql post-start process (5338) terminated with status 1
Jan 31 13:28:21 read kernel: [17989.889406] type=1505 audit(1328038101.478:97): operation="profile_replace" pid=5437 name="/usr/sbin/mysqld"
Jan 31 13:28:21 read init: mysql main process (5441) terminated with status 1
Jan 31 13:28:21 read init: mysql main process ended, respawning
Jan 31 13:28:51 read init: mysql post-start process (5442) terminated with status 1
Jan 31 13:28:51 read init: mysql main process (5529) terminated with status 1
Jan 31 13:28:51 read init: mysql main process ended, respawning
Jan 31 13:28:51 read kernel: [18019.998468] type=1505 audit(1328038131.631:98): operation="profile_replace" pid=5525 name="/usr/sbin/mysqld"
Jan 31 13:29:21 read init: mysql post-start process (5530) terminated with status 1
Jan 31 13:29:21 read kernel: [18050.107443] type=1505 audit(1328038161.788:99): operation="profile_replace" pid=5621 name="/usr/sbin/mysqld"
Jan 31 13:29:21 read init: mysql main process (5625) terminated with status 1
Jan 31 13:29:21 read init: mysql main process ended, respawning

This keeps up until I stop the MySQL process.

The MySQL error log is blank.

When the server went down could something have gotten corrupted? The server has been working since we brought it online in June.

BTW, of course I do not have a recent backup, if I did I would not be in this situation. Any ideas?

Mark

error 2003 hy000 ...cant connect to localhost 10061 (no replies)

January 31, 2012 - 04:23
ive been trying to make this work. i was trying to restart mysql so i flushed the privileges and after that i got this error.
error 2003 hy000 ...cant connect to localhost 10061
using windows 7
computer is a hp bought in 2011

Setting Mysql Databases across Multiple Mysql Database (no replies)

January 30, 2012 - 21:46
hi,
i am working centos 4.8.its defaultly intalled Mysql 4.1.22. then, my working application defaultly have Mysql5.0. Now i backup my application dayabase using mysqldump.but, occuring lotof errors.perfectly backup operation is not done yet.how can i solve this problem?

multiprogramming level (MPL) for MySQL? (3 replies)

January 30, 2012 - 05:37
Hi Guys,

As you may know, MPL is the number of queries executing simultaneously in a DBMS. I am wondering what is the default MPL for MySQL?

Thanks

InnoDB: but the only supported page size in this release is=16384 (no replies)

January 29, 2012 - 14:09
I have upgraded from 5.1.59 to 5.5.20
Using InnoDB tables and converted some of them compression with block size 8.
After restart the server I am getting error below.
I can open with 5.1.59 however I can not see compress tables.
If I delete ibdata\ibdata2 and ibdata1 + iblogs I can not see innodb tables.

I have all ibd files.
Is there a way to fix this?

120130 4:59:57 [Note] Plugin 'FEDERATED' is disabled.
120130 4:59:57 InnoDB: The InnoDB memory heap is disabled
120130 4:59:57 InnoDB: Mutexes and rw_locks use Windows interlocked functions
120130 4:59:57 InnoDB: Compressed tables use zlib 1.2.3
120130 4:59:57 InnoDB: Initializing buffer pool, size = 1.0G
120130 4:59:57 InnoDB: Completed initialization of buffer pool
120130 4:59:57 InnoDB: Error: data file C:\Program Files\Parallels\Plesk\Databases\MySQL\Data\ibdata\ibdata2 uses page size 1024,
120130 4:59:57 InnoDB: but the only supported page size in this release is=16384
120130 4:59:57 InnoDB: Could not open or create data files.
120130 4:59:57 InnoDB: If you tried to add new data files, and it failed here,
120130 4:59:57 InnoDB: you should now edit innodb_data_file_path in my.cnf back
120130 4:59:57 InnoDB: to what it was, and remove the new ibdata files InnoDB created
120130 4:59:57 InnoDB: in this failed attempt. InnoDB only wrote those files full of
120130 4:59:57 InnoDB: zeros, but did not yet use them in any way. But be careful: do not
120130 4:59:57 InnoDB: remove old data files which contain your precious data!
120130 4:59:57 [ERROR] Plugin 'InnoDB' init function returned error.
120130 4:59:57 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
120130 4:59:57 [ERROR] Unknown/unsupported storage engine: INNODB
120130 4:59:57 [ERROR] Aborting

----
my.ini
----
[mysqld]
port=3306

back_log = 50 #default
max_connect_errors = 10 #default
max_connections = 200 #300-200


basedir=C:\Program Files\\Parallels\\Plesk\\Databases\\MySQL
datadir=C:\Program Files\\Parallels\\Plesk\\Databases\\MySQL\\Data

default-storage-engine=INNODB
innodb_file_format=barracuda
innodb_file_per_table=1

key_buffer_size = 64M #128-80-64

query_cache_type = 1 # query cache
query_cache_limit = 4M #2-4
query_cache_size = 256M #48->64->80->96->128->160
#query_cache_min_res_unit=1K #1K-4K

long_query_time=10 #2
slow_query_log_file = slow-queries.log
binlog_cache_size = 1M

#sort_buffer_size = 128K
#read_buffer_size = 256K#512K-1M
#read_rnd_buffer_size = 128K#256K512K

sort_buffer_size = 4M #2->4
read_buffer_size = 2M
read_rnd_buffer_size = 10M #8->10

join_buffer_size = 4MB
myisam_sort_buffer_size = 16M #32-64M


max_allowed_packet=32M # 64->32 mysqlhotcopy icin
wait_timeout=150 # mysqlhotcopy icin
connect_timeout=150 #120
thread_concurrency = 8
table_open_cache = 2048 #1536-2048
thread_cache_size=20 #20-16-14-10-8-7

max_heap_table_size=48M #48->645
tmp_table_size=48M
max_tmp_tables=64
innodb_data_home_dir = C:\\Program Files\\Parallels\\Plesk\\Databases\\MySQL\\Data\\ibdata
innodb_data_file_path = ibdata1:732M;ibdata2:10M:autoextend
#
# Set buffer pool size to 50-80% of your computer's memory
innodb_buffer_pool_size=1024M #1024->1280
innodb_additional_mem_pool_size=16M #4->16
#
# Set the log file size to about 25% of the buffer pool size
innodb_log_file_size=512M #256->512
innodb_log_buffer_size=16M #8->16
#
innodb_max_dirty_pages_pct = 90
innodb_flush_log_at_trx_commit=2
innodb_lock_wait_timeout=50 #120
innodb_support_xa = 0
innodb_thread_concurrency=8 #4->8
#innodb_autoextend_increment=4

[client]
port=3306

Install on Mysql give Error 1045 (Access denied for user root@localhost) (1 reply)

January 28, 2012 - 05:17
Hi,
when i install mysql on a Windows Server 2008 R2 I get at the end the error 1045.

I check the firewall and there was already an incomming rule.

I trid severel times a reinstall, always delete the old folder in programme.

Any help?

regards

Holger