Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

New Tables default to MyISAM

Questions related to using nuBuilder Forte.
Post Reply
benritter
Posts: 49
Joined: Wed Aug 26, 2020 10:38 pm

New Tables default to MyISAM

Unread post by benritter »

Hi,
I was having trouble setting up foreign keys, subform to parent form. And After doing some research I found that tables created in nuBuilder forte are made in MyISAM storage engine by default. I have done a re-install of nuBuilder once already, and I believe the first time I installed it, new tables WERE defaulting to InnoDB. But MyISAM doesn't support foreign keys. To fix, I went into phpMyadmin, select a table, click "Operations" at the top and change the storage engine. Then you can setup foreign keys with an sql statement or phpMyadmin gives you a handy GUI for it under table structure/relation view.
admin
Site Admin
Posts: 2829
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 30 times

Re: New Tables default to MyISAM

Unread post by admin »

ben,

nuBuilder allows you to use any field as a foreign key even if it is not recognised as so by the Mysql database.

In other words, you don't need to create foreign keys within MySQL/PHPMyAdmin for nuBuilder to work.


Steven
Post Reply