Quantcast
Viewing all articles
Browse latest Browse all 7241

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

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

Viewing all articles
Browse latest Browse all 7241

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>