1 (edited by xkp 2015-10-30 14:43)

Topic: Punbb Innodb not working

I got debian stretch with bitnami-lampstack-7.0.0RC5-0-dev-linux-x64.
I have asked in bitnami community forum but they have send me here as well to ask ( https://community.bitnami.com/t/how-to- … p7/37688/2 )

I'am trying to install punbb but MySQL / MySQLI InnoDB return error:
- InnoDB is not enabled. Please select a database that does not include InnoDB, or enable InnoDB in settings of your MySQL-server.

When i try with MySQL or MySQLI only it's working flawless, but when i try with InnoDB nothing is working..

It's maybe codding problem i don't know becouse in phpmyadin innodb is working.

Link for picture >> prikachi.com/images.php?images/674/8432674K.png

Here is some enviorment info

Database server

Server: Localhost via UNIX socket
Server type: MySQL
Server version: 5.6.27 - MySQL Community Server (GPL)
Protocol version: 10
User: root@localhost
Server charset: UTF-8 Unicode (utf8)
Web server

Apache
Database client version: libmysql - mysqlnd 5.0.12-dev - 20150407 - $Id: 7e72f9690b1498a1bead7a637c33a831c0d2f655 $
PHP extension: mysqli Documentation
PHP version: 7.0.0RC5
151030 06:41:23 mysqld_safe Starting mysqld.bin daemon with databases from /opt/bitnami/mysql/data
2015-10-30 06:41:23 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2015-10-30 06:41:23 0 [Note] /opt/bitnami/mysql/bin/mysqld.bin (mysqld 5.6.27) starting as process 9472 ...
2015-10-30 06:41:23 9472 [Note] Plugin 'FEDERATED' is disabled.
2015-10-30 06:41:23 9472 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-10-30 06:41:23 9472 [Note] InnoDB: The InnoDB memory heap is disabled
2015-10-30 06:41:23 9472 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-10-30 06:41:23 9472 [Note] InnoDB: Memory barrier is not used
2015-10-30 06:41:23 9472 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-10-30 06:41:23 9472 [Note] InnoDB: Using Linux native AIO
2015-10-30 06:41:23 9472 [Note] InnoDB: Not using CPU crc32 instructions
2015-10-30 06:41:23 9472 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-10-30 06:41:23 9472 [Note] InnoDB: Completed initialization of buffer pool
2015-10-30 06:41:23 9472 [Note] InnoDB: Highest supported file format is Barracuda.
2015-10-30 06:41:23 9472 [Note] InnoDB: 128 rollback segment(s) are active.
2015-10-30 06:41:23 9472 [Note] InnoDB: Waiting for purge to start
2015-10-30 06:41:23 9472 [Note] InnoDB: 5.6.27 started; log sequence number 7173300
2015-10-30 06:41:23 9472 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306
2015-10-30 06:41:23 9472 [Note]   - '127.0.0.1' resolves to '127.0.0.1';
2015-10-30 06:41:23 9472 [Note] Server socket created on IP: '127.0.0.1'.
2015-10-30 06:41:23 9472 [Note] Event Scheduler: Loaded 0 events
2015-10-30 06:41:23 9472 [Note] /opt/bitnami/mysql/bin/mysqld.bin: ready for connections.
Version: '5.6.27'  socket: '/opt/bitnami/mysql/tmp/mysql.sock'  port: 3306  MySQL Community Server (GPL)

Re: Punbb Innodb not working

Please use --explicit_defaults_for_timestamp server option (see documentation for more details).

Parserus, UserAgentAnalyzer.
I speak only Russian  :P

3 (edited by xkp 2015-10-30 17:04)

Re: Punbb Innodb not working

I just try it but no result yet, again Innodb is not enabled, but TIMESTAMP error disappeared.
I have added explicit_defaults_for_timestamp = 1 in /mysql/my.cnf ~ In phpmyadmin variables is ON

151030 16:42:19 mysqld_safe mysqld from pid file /opt/bitnami/mysql/data/mysqld.pid ended
151030 16:42:23 mysqld_safe Starting mysqld.bin daemon with databases from /opt/bitnami/mysql/data
2015-10-30 16:42:24 0 [Note] /opt/bitnami/mysql/bin/mysqld.bin (mysqld 5.6.27) starting as process 12400 ...
2015-10-30 16:42:24 12400 [Note] Plugin 'FEDERATED' is disabled.
2015-10-30 16:42:24 12400 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-10-30 16:42:24 12400 [Note] InnoDB: The InnoDB memory heap is disabled
2015-10-30 16:42:24 12400 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-10-30 16:42:24 12400 [Note] InnoDB: Memory barrier is not used
2015-10-30 16:42:24 12400 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-10-30 16:42:24 12400 [Note] InnoDB: Using Linux native AIO
2015-10-30 16:42:24 12400 [Note] InnoDB: Not using CPU crc32 instructions
2015-10-30 16:42:24 12400 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-10-30 16:42:24 12400 [Note] InnoDB: Completed initialization of buffer pool
2015-10-30 16:42:24 12400 [Note] InnoDB: Highest supported file format is Barracuda.
2015-10-30 16:42:24 12400 [Note] InnoDB: 128 rollback segment(s) are active.
2015-10-30 16:42:24 12400 [Note] InnoDB: Waiting for purge to start
2015-10-30 16:42:24 12400 [Note] InnoDB: 5.6.27 started; log sequence number 7173360
2015-10-30 16:42:24 12400 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306
2015-10-30 16:42:24 12400 [Note]   - '127.0.0.1' resolves to '127.0.0.1';
2015-10-30 16:42:24 12400 [Note] Server socket created on IP: '127.0.0.1'.
2015-10-30 16:42:24 12400 [Note] Event Scheduler: Loaded 0 events
2015-10-30 16:42:24 12400 [Note] /opt/bitnami/mysql/bin/mysqld.bin: ready for connections.
Version: '5.6.27'  socket: '/opt/bitnami/mysql/tmp/mysql.sock'  port: 3306  MySQL Community Server (GPL)

Some more info about innodb variables

innodb_adaptive_flushing    ON
innodb_adaptive_flushing_lwm    10
innodb_adaptive_hash_index    ON
innodb_adaptive_max_sleep_delay    150000
innodb_additional_mem_pool_size    8,192 KiB
innodb_api_bk_commit_interval    5
innodb_api_disable_rowlock    OFF
innodb_api_enable_binlog    OFF
innodb_api_enable_mdl    OFF
innodb_api_trx_level    0
    Autoextend increment    64
innodb_autoinc_lock_mode    1
innodb_buffer_pool_dump_at_shutdown    OFF
innodb_buffer_pool_dump_now    OFF
innodb_buffer_pool_filename    ib_buffer_pool
innodb_buffer_pool_instances    8
innodb_buffer_pool_load_abort    OFF
innodb_buffer_pool_load_at_startup    OFF
innodb_buffer_pool_load_now    OFF
    Buffer pool size    131 k KiB
innodb_change_buffer_max_size    25
innodb_change_buffering    all
innodb_checksum_algorithm    innodb
innodb_checksums    ON
innodb_cmp_per_index_enabled    OFF
innodb_commit_concurrency    0
innodb_compression_failure_threshold_pct    5
innodb_compression_level    6
innodb_compression_pad_pct_max    50
innodb_concurrency_tickets    5 k
Data files    ibdata1:12M:autoextend
    Data home directory    
innodb_disable_sort_file_cache    OFF
innodb_doublewrite    ON
innodb_fast_shutdown    1
innodb_file_format    Antelope
innodb_file_format_check    ON
innodb_file_format_max    Antelope
innodb_file_per_table    ON
innodb_flush_log_at_timeout    1
innodb_flush_log_at_trx_commit    1
innodb_flush_method    
innodb_flush_neighbors    1
innodb_flushing_avg_loops    30
innodb_force_load_corrupted    OFF
innodb_force_recovery    0
innodb_ft_aux_table    
innodb_ft_cache_size    8000000
innodb_ft_enable_diag_print    OFF
innodb_ft_enable_stopword    ON
innodb_ft_max_token_size    84
innodb_ft_min_token_size    3
innodb_ft_num_word_optimize    2000
innodb_ft_result_cache_limit    2000000000
innodb_ft_server_stopword_table    
innodb_ft_sort_pll_degree    2
innodb_ft_total_cache_size    640000000
innodb_ft_user_stopword_table    
innodb_io_capacity    200
innodb_io_capacity_max    2000
innodb_large_prefix    OFF
innodb_lock_wait_timeout    50
innodb_locks_unsafe_for_binlog    OFF
innodb_log_buffer_size    8,192 KiB
innodb_log_compressed_pages    ON
innodb_log_file_size    49,152 KiB
innodb_log_files_in_group    2
innodb_log_group_home_dir    ./
innodb_lru_scan_depth    1024
innodb_max_dirty_pages_pct    75
innodb_max_dirty_pages_pct_lwm    0
innodb_max_purge_lag    0
innodb_max_purge_lag_delay    0
innodb_mirrored_log_groups    1
innodb_monitor_disable    
innodb_monitor_enable    
innodb_monitor_reset    
innodb_monitor_reset_all    
innodb_old_blocks_pct    37
innodb_old_blocks_time    1000
innodb_online_alter_log_max_size    134217728
innodb_open_files    2 k
innodb_optimize_fulltext_only    OFF
innodb_page_size    16384
innodb_print_all_deadlocks    OFF
innodb_purge_batch_size    300
innodb_purge_threads    1
innodb_random_read_ahead    OFF
innodb_read_ahead_threshold    56
innodb_read_io_threads    4
innodb_read_only    OFF
innodb_replication_delay    0
innodb_rollback_on_timeout    OFF
innodb_rollback_segments    128
innodb_sort_buffer_size    1048576
innodb_spin_wait_delay    6
innodb_stats_auto_recalc    ON
innodb_stats_method    nulls_equal
innodb_stats_on_metadata    OFF
innodb_stats_persistent    ON
innodb_stats_persistent_sample_pages    20
innodb_stats_sample_pages    8
innodb_stats_transient_sample_pages    8
innodb_status_output    OFF
innodb_status_output_locks    OFF
innodb_strict_mode    OFF
innodb_support_xa    ON
innodb_sync_array_size    1
innodb_sync_spin_loops    30
innodb_table_locks    ON
innodb_thread_concurrency    0
innodb_thread_sleep_delay    10 k
innodb_undo_directory    .
innodb_undo_logs    128
innodb_undo_tablespaces    0
innodb_use_native_aio    ON
innodb_use_sys_malloc    ON
innodb_version    5.6.27
innodb_write_io_threads    4

InnoDB Status

=====================================
2015-10-30 17:03:26 7f817381a700 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 21 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 0 srv_active, 0 srv_shutdown, 630 srv_idle
srv_master_thread log flush and writes: 630
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 2
OS WAIT ARRAY INFO: signal count 2
Mutex spin waits 0, rounds 0, OS waits 0
RW-shared spins 2, rounds 60, OS waits 2
RW-excl spins 0, rounds 0, OS waits 0
Spin rounds per wait: 0.00 mutex, 30.00 RW-shared, 0.00 RW-excl
------------
TRANSACTIONS
------------
Trx id counter 17666
Purge done for trx's n:o < 11733 undo n:o < 0 state: running but idle
History list length 734
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 0, not started
MySQL thread id 60, OS thread handle 0x7f817381a700, query id 570 localhost root init
SHOW ENGINE INNODB STATUS
--------
FILE I/O
--------
I/O thread 0 state: waiting for completed aio requests (insert buffer thread)
I/O thread 1 state: waiting for completed aio requests (log thread)
I/O thread 2 state: waiting for completed aio requests (read thread)
I/O thread 3 state: waiting for completed aio requests (read thread)
I/O thread 4 state: waiting for completed aio requests (read thread)
I/O thread 5 state: waiting for completed aio requests (read thread)
I/O thread 6 state: waiting for completed aio requests (write thread)
I/O thread 7 state: waiting for completed aio requests (write thread)
I/O thread 8 state: waiting for completed aio requests (write thread)
I/O thread 9 state: waiting for completed aio requests (write thread)
Pending normal aio reads: 0 [0, 0, 0, 0] , aio writes: 0 [0, 0, 0, 0] ,
 ibuf aio reads: 0, log i/o's: 0, sync i/o's: 0
Pending flushes (fsync) log: 0; buffer pool: 0
407 OS file reads, 5 OS file writes, 5 OS fsyncs
0.00 reads/s, 0 avg bytes/read, 0.00 writes/s, 0.00 fsyncs/s
-------------------------------------
INSERT BUFFER AND ADAPTIVE HASH INDEX
-------------------------------------
Ibuf: size 1, free list len 0, seg size 2, 0 merges
merged operations:
 insert 0, delete mark 0, delete 0
discarded operations:
 insert 0, delete mark 0, delete 0
Hash table size 276671, node heap has 1 buffer(s)
0.00 hash searches/s, 0.00 non-hash searches/s
---
LOG
---
Log sequence number 7173380
Log flushed up to   7173380
Pages flushed up to 7173380
Last checkpoint at  7173380
0 pending log writes, 0 pending chkp writes
8 log i/o's done, 0.00 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total memory allocated 137363456; in additional pool allocated 0
Dictionary memory allocated 48290
Buffer pool size   8191
Free buffers       7796
Database pages     394
Old database pages 0
Modified db pages  0
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 0, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 394, created 0, written 1
0.00 reads/s, 0.00 creates/s, 0.00 writes/s
No buffer pool page gets since the last printout
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 394, unzip_LRU len: 0
I/O sum[0]:cur[0], unzip sum[0]:cur[0]
--------------
ROW OPERATIONS
--------------
0 queries inside InnoDB, 0 queries in queue
0 read views open inside InnoDB
Main thread process no. 12809, id 140193958659840, state: sleeping
Number of rows inserted 0, updated 0, deleted 0, read 0
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================