Jump to content

MySQL installation choices


marthar

Recommended Posts

I'm very new to PHP and mysql.  I'm looking at installing a php app for myself and several friends, and have some questions.

 

What is the difference between mysql and mysqli?  Should I use myisam tables or innodb?

 

Once I make a decision, how hard is it to switch if I need to?  If I get used to mysql and myisam for example, would using mysqli and/or innodb be a matter of changing a config setting, or would there be more I would need to understand? 

 

Would it make any difference if the host is a Windows or Unix host, assuming the host already has PHP 5 and mysql 5 installed?

 

 

Link to comment
Share on other sites

mysql and mysqli are php extensions. They have nothing to do with MySQL itself.

 

mysqli stands for mysql improved. mysqli is recommended to use with PHP5 and MySQL5. Check out php.net for the differences between the mysql and mysqli extensions.

 

As for what storage engine to use, I generally use the default storage engine that MySQL is configured with.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.