Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

new emerge of mysql whit innodb does not show innodb

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
TUX2k
n00b
n00b
User avatar
Posts: 62
Joined: Thu May 16, 2002 2:21 pm
Location: Purmerend, The Netherlands
Contact:
Contact TUX2k
Website

new emerge of mysql whit innodb does not show innodb

  • Quote

Post by TUX2k » Fri Nov 15, 2002 10:37 am

I emerge -C mysql and added inndb to my usses variable.

After emerging mysql it strated oke but in MySQL system variables
have_innodb is disabled.
How do I turn it on.
Top
rac
Bodhisattva
Bodhisattva
User avatar
Posts: 6553
Joined: Thu May 30, 2002 6:19 am
Location: Japanifornia
Contact:
Contact rac
Website

Re: new emerge of mysql whit innodb does not show innodb

  • Quote

Post by rac » Fri Nov 15, 2002 6:27 pm

TUX2k wrote:I emerge -C mysql and added inndb to my usses variable.
If that's not a typo, "innodb" is missing an 'o'.
For every higher wall, there is a taller ladder
Top
TUX2k
n00b
n00b
User avatar
Posts: 62
Joined: Thu May 16, 2002 2:21 pm
Location: Purmerend, The Netherlands
Contact:
Contact TUX2k
Website

  • Quote

Post by TUX2k » Fri Nov 15, 2002 6:48 pm

Sorry thats a typo, when emerging I did see the option --with-innodb pass.
But when I start mysql and show MySQL system variables via phpMyAdmin.
The option have_innodb is disabled

Do I have to turn It on some where alse.

I looked on the MySQL site there It says that you have to ad the option

Code: Select all

 [mysqld]
innodb_data_file_path=ibdata:30M
So I did but still no innodb I mysql.
Top
BigmanJo
n00b
n00b
Posts: 1
Joined: Thu Dec 05, 2002 6:46 pm

  • Quote

Post by BigmanJo » Thu Dec 05, 2002 6:49 pm

TUX2k wrote:Sorry thats a typo, when emerging I did see the option --with-innodb pass.
But when I start mysql and show MySQL system variables via phpMyAdmin.
The option have_innodb is disabled

Do I have to turn It on some where alse.

I looked on the MySQL site there It says that you have to ad the option

Code: Select all

 [mysqld]
innodb_data_file_path=ibdata:30M
So I did but still no innodb I mysql.
Maybe you forget to turn off the 'skip-innodb'option in the my.cnf file;
default installed at /etc/mysql/

Good Luck!
I know, I Know.....
Top
bps7j
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 83
Joined: Fri Dec 20, 2002 4:45 pm
Location: Charlottesville, VA, USA
Contact:
Contact bps7j
Website

I'm having the same problem

  • Quote

Post by bps7j » Tue Jun 20, 2006 2:02 am

I've had this instance of MySQL running for a long time with no problems, but upgrading last night broke InnoDB for me as well. I searched around the forums and found that there is (used to be?) an innodb USE variable. I did find it in /usr/portage/profiles/use.desc but it seems to actually be removed:

Code: Select all

tigger ~ # emerge -pv mysql

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-db/mysql-5.0.22  USE="berkdb perl ssl -big-tables -cluster -debug -embedded -extraengine -latin1 -max-idx-128 -minimal -srvdir -static" 0 kB
See, it's not even in that list. Nevertheless I added it to package.use and rebuilt. Here is some of the output:

Code: Select all

 * You might want to run:
 * "emerge --config =dev-db/mysql-5.0.22"
 * if this is a new install.
 * 
 * InnoDB is *not* optional as of MySQL-4.0.24, at the request of upstream.
OK, looks good.

Code: Select all

tigger ~ # /etc/init.d/mysql restart
 * Re-caching dependency info (mtimes differ)...
 * Stopping mysql ...
 * Stopping mysqld (0)                                                    [ ok ]
 * Re-caching dependency info (mtimes differ)...
 * Re-caching dependency info (mtimes differ)...
 * Re-caching dependency info (mtimes differ)...
 * Re-caching dependency info (mtimes differ)...
 *  ...
 * Starting mysql (/etc/mysql/my.cnf)                                     [ ok ]
tigger ~ # 
Great. But, connecting via the command-line client:

Code: Select all

mysql> show variables like 'have_innodb';
+---------------+----------+
| Variable_name | Value    |
+---------------+----------+
| have_innodb   | DISABLED | 
+---------------+----------+
1 row in set (0.00 sec)

mysql> show engine innodb status;
ERROR 1235 (42000): Cannot call SHOW INNODB STATUS because skip-innodb is defined
skip-innodb is NOT defined:

Code: Select all

tigger ~ # grep skip /etc/mysql/my.cnf 
skip-locking
# skip-networking
# skip-innodb
(Notice, /etc/mysql/my.cnf is the file named in the output when I start the daemon).

Any ideas?
There are only 10 kinds of people:
those who understand binary and those who don't.
Top
bps7j
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 83
Joined: Fri Dec 20, 2002 4:45 pm
Location: Charlottesville, VA, USA
Contact:
Contact bps7j
Website

  • Quote

Post by bps7j » Tue Jun 20, 2006 2:04 am

By the way I know this is an old thread, but I see nothing but this type of thing everywhere... if this one doesn't get any replies I'll try cross-posting...
There are only 10 kinds of people:
those who understand binary and those who don't.
Top
bps7j
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 83
Joined: Fri Dec 20, 2002 4:45 pm
Location: Charlottesville, VA, USA
Contact:
Contact bps7j
Website

  • Quote

Post by bps7j » Wed Jun 21, 2006 12:34 am

OK, one more thing I thought to do was check the configuration file backups I've made... good thing I do that :-) I wouldn't have thought I was braindead enough to just accept a new configuration file, but apparently I did it without knowing it.

old:

Code: Select all

innodb_data_file_path           = ibdata1:10M:autoextend
new:

Code: Select all

innodb_data_file_path = ibdata1:10M:autoextend:max:128M
That was the problem.
There are only 10 kinds of people:
those who understand binary and those who don't.
Top
Post Reply

7 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic