Sponsored Content
Top Forums Web Development Unkown table Engine 'InnoDB' on a RedHat server with MySQL v5! Post 302335671 by mehdi1973 on Monday 20th of July 2009 07:23:49 AM
Old 07-20-2009
Unkown table Engine 'InnoDB' on a RedHat server with MySQL v5!

hi all,

After installing MySQL Source Code on my RedHat machine and compiling it, i no longer have access to some of my DBs having this error message.

Unkown table Engine 'InnoDB'

Before this step, i used to have another MySQL instance that used to work properly with all the DBs i do have, but after installing MySQL 5.1.36 source code and compiling it, if i try the access to some of the DBs ( using this instance of MySQL v5.xx ) i have that Error Message "Unkown table Engine 'InnoDB'" i did not have while using the other instance before.

Also, once on the "mysql" prompt, if you run "show engines" command you don't have any "InnoDB" in the result screen.

Thanx for any kind of help !
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

mysql in redhat

Does anyone know how to get mysql up and running with the installed version that comes with redhat linux? I've spent hours with no progress. Thank you (13 Replies)
Discussion started by: gparsons70
13 Replies

2. UNIX for Dummies Questions & Answers

mysql installation error using redhat 7.2

i am a newbie to unix admin stuff so bare with me. -- i get this message when executing mysql_install_db during the installation of mysql. what is the cause of this and how can it be fixed. btw - i have tried installing as root and other accounts also. scripts/mysql_install_db:... (6 Replies)
Discussion started by: theDirtiest
6 Replies

3. Shell Programming and Scripting

MySql: create table error

Hi, iam learning MySql. Iam trieing to create a table in the database "guestbook" at the command line in mysql heres what i type but i get a error mysql>create table guestbook ->( -> name varchar(40) null. -> url varchar(40) null. -> comments ... (3 Replies)
Discussion started by: perleo
3 Replies

4. Shell Programming and Scripting

Help Inserting data in mysql table

Cant understand the error #!/bin/bash temp="" A="" D=$(date +"%Y-%m-%d") H=$(date +"%R") temp=$(wget -q -O - website | grep -o "Temperature:]**" | grep \-E -o "+") mysql -D "weather_wise" -e "INSERT INTO weather (Date, Hour, Degrees) VALUES ($D,$H, $temp)"; my data types for... (11 Replies)
Discussion started by: vadharah
11 Replies

5. Programming

API C MYSQL vs lock table ???

(sorry for my english) Hi, i have an app that uses MYSQL API C.. i trying do a timeout until the table is locked by an other thread , in the docs of Mysql i can see that MYSQL_OPT_READ_TIMEOUT is not implemented for linux ¿?¿?.. any body knows a way to do a timeout until the table is locked by... (0 Replies)
Discussion started by: JEscola
0 Replies

6. UNIX and Linux Applications

mysql table disappear

I have set a mysql file to excute everyday morning to generate a html file displayng 2 tables from the database. Sometime they cannot be shown, and it shows the tables are not existed. I have not drop any table, and those 2 tables are not used by any other excution. Anybody know what is happening?... (0 Replies)
Discussion started by: c203040
0 Replies

7. Red Hat

configuring MYsql db on redhat cluster

Hello, can someone please suggest me in configuring the mysql db on redhat cluster, I have few questions. 1. where do I have to configure heart beat links, and is there any file in the redhat cluster that we update it to use these ipaddress and these interface on the node. 2. I am configuring... (0 Replies)
Discussion started by: bobby320
0 Replies

8. Web Development

Mysql table is marked as crashed and should be repaired

140312 13:43:54 /usr/libexec/mysqld: Table './***/phpbb_posts' is marked as crashed and should be repaired Its mysqld.log in var/log alot of messages, but before around hour i tried to "repaid table" from within phpmyadmin, but appears it has no effect.. why? How to fix? (1 Reply)
Discussion started by: postcd
1 Replies
MYSQLND_MEMCACHE_GET_CONFIG(3)						 1					    MYSQLND_MEMCACHE_GET_CONFIG(3)

mysqlnd_memcache_get_config - Returns information about the plugin configuration

SYNOPSIS
array mysqlnd_memcache_get_config (mixed $connection) DESCRIPTION
This function returns an array of all mysqlnd_memcache related configuration information that is attached to the MySQL connection. This includes MySQL, the Memcache object provided via mysqlnd_memcache_set(3), and the table mapping configuration that was automatically col- lected from the MySQL Server. PARAMETERS
o $connection - A handle to a MySQL Server using one of the MySQL API extensions for PHP, which are PDO_MYSQL, mysqli or ext/mysql. RETURN VALUES
An array of mysqlnd_memcache configuration information on success, otherwise FALSE. The returned array has these elements: mysqlnd_memcache_get_config(3) array structure +--------------+---------------------------------------------------+ | Array Key | | | | | | | Description | | | | +--------------+---------------------------------------------------+ | memcached | | | | | | | Instance of Memcached associated to this MySQL | | | connection by mysqlnd_memcache_set. You can use | | | this to change settings of the memcache connec- | | | tion, or directly by querying the server on this | | | connection. | | | | | pattern | | | | | | | The PCRE regular expression used to match the | | | SQL query sent to the server. Queries matching | | | this pattern will be further analyzed to decide | | | whether the query can be intercepted and sent via | | | the memcache interface or whether the query is | | | sent using the general MySQL protocol to the | | | server. The pattern is either the default pattern | | | ( MYSQLND_MEMCACHE_DEFAULT_REGEXP) or it is set | | | via mysqlnd_memcache_set(3). | | | | | mappings | | | | | | | An associative array with a list of all config- | | | ured containers as they were discovered by this | | | plugin. The key for these elements is the name of | | | the container in the MySQL configuration. The | | | value is described below. The contents of this | | | field is created by querying the MySQL Server | | | during association to MySQL and a memcache con- | | | nection using mysqlnd_memcache_set. | | | | |mapping_query | | | | | | | An SQL query used during mysqlnd_memcache_set to | | | identify the available containers and mappings. | | | The result of that query is provided in the map- | | | pings element. | | | | +--------------+---------------------------------------------------+ Mapping entry structure +--------------+---------------------------------------------------+ | Array Key | | | | | | | Description | | | | +--------------+---------------------------------------------------+ | prefix | | | | | | | A prefix used while accessing data via memcache. | | | With the MySQL InnoDB Memcache Deamon plugin, | | | this usually begins with @@ and ends with a con- | | | figurable separator. This prefix is placed in | | | front of the key value while using the memcache | | | protocol. | | | | | schema_name | | | | | | | Name of the schema (database) which contains the | | | table being accessed. | | | | | table_name | | | | | | | Name of the table which contains the data acces- | | | sible via memcache protocol. | | | | |id_field_name | | | | | | | Name of the database field (column) with the id | | | used as key when accessing the table via mem- | | | cache. Often this is the database field having a | | | primary key. | | | | | separator | | | | | | | The separator used to split the different field | | | values. This is needed as memcache only provides | | | access to a single value while MySQL can map mul- | | | tiple columns to this value. | | | | | | Note | | | | | | | | | The separator, which can be set in | | | the MySQL Server configuration, | | | should not be part of any value | | | retrieved via memcache because | | | proper mapping can't be guaranteed. | | | | | fields | | | | | | | An array with the name of all fields available | | | for this mapping. | | | | +--------------+---------------------------------------------------+ EXAMPLES
Example #1 mysqlnd_memcache_get_config(3) example <?php $mysqli = new mysqli("host", "user", "passwd", "database"); $memc = new Memcached(); $memc->addServer("host", 11211); mysqlnd_memcache_set($mysqli, $memc); var_dump(mysqlnd_memcache_get_config($mysqli)); ?> The above example will output: array(4) { ["memcached"]=> object(Memcached)#2(0) { } ["pattern"]=> string(125) "/^s*SELECTs*(.+?)s*FROMs*`?([a-z0-9_]+)`?s*WHEREs*`?([a-z0-9_]+)`?s*=s*(?(?=["'])["']([^"']*)["']|([0-9e.]*))s*$/is" ["mappings"]=> array(1) { ["mymem_test"]=> array(6) { ["prefix"]=> string(13) "@@mymem_test." ["schema_name"]=> string(4) "test" ["table_name"]=> string(10) "mymem_test" ["id_field_name"]=> string(2) "id" ["separator"]=> string(1) "|" ["fields"]=> array(3) { [0]=> string(2) "f1" [1]=> string(2) "f2" [2]=> string(2) "f3" } } } ["mapping_query"]=> string(209) " SELECT c.name, CONCAT('@@', c.name, (SELECT value FROM innodb_memcache.config_options WHERE name = 'table_map_delimiter')) AS key_prefix, c.db_schema, c.db_table, c.key_columns, c.value_columns, (SELECT value FROM innodb_memcache.config_options WHERE name = 'separator') AS sep FROM innodb_memcache.containers c" } SEE ALSO
mysqlnd_memcache_set. PHP Documentation Group MYSQLND_MEMCACHE_GET_CONFIG(3)
All times are GMT -4. The time now is 08:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy