MySQL or MySQLi ?
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
- free-rebel
- I've been banned!
- Posts: 602
- Joined: Sun Dec 19, 2010 1:26 am
- Location: Slovakia, Bratislava
MySQL or MySQLi ?
Hi, what is different between use MySQL and MySQLi ?
What use for joomla 1.6 ?
What use for joomla 1.6 ?
I m Rebel ...
-
- Joomla! Explorer
- Posts: 428
- Joined: Fri May 21, 2010 11:43 am
- Location: Aachen, Germany
- Contact:
Re: MySQL or MySQLi ?
Both are interfaces for PHP to access a MySQL database. MySQLi is faster and potentially more secure, you should use it when available.
- free-rebel
- I've been banned!
- Posts: 602
- Joined: Sun Dec 19, 2010 1:26 am
- Location: Slovakia, Bratislava
-
- Joomla! Enthusiast
- Posts: 221
- Joined: Fri Oct 10, 2008 9:03 pm
- Contact:
Re: MySQL or MySQLi ?
very useful, cheers
-
- Joomla! Apprentice
- Posts: 34
- Joined: Fri Oct 08, 2010 4:47 am
Re: MySQL or MySQLi ?
good to know I wondered about this.
-
- Joomla! Hero
- Posts: 2954
- Joined: Sun May 04, 2008 12:37 pm
Re: MySQL or MySQLi ?
Thanks I'll opt for SQLi in the future..... but how'bout projects from the past?
If I see the .ini files in the PHP info, can I simply change the databasetype from MySQL to MySQLi in the backend?
Regards,
If I see the .ini files in the PHP info, can I simply change the databasetype from MySQL to MySQLi in the backend?
Regards,
-
- Joomla! Enthusiast
- Posts: 197
- Joined: Sat Dec 11, 2010 6:57 pm
Re: MySQL or MySQLi ?
Go in configuration.php change dbtype from 'mysql' to 'mysqli'waarnemer wrote:Thanks I'll opt for SQLi in the future..... but how'bout projects from the past?
If I see the .ini files in the PHP info, can I simply change the databasetype from MySQL to MySQLi in the backend?
Regards,
cheers
-
- Joomla! Apprentice
- Posts: 39
- Joined: Wed Dec 14, 2011 3:59 pm
Re: MySQL or MySQLi ?
is it really safe do just change it in global config or configuration.php? It's the same actually!?
-
- Joomla! Apprentice
- Posts: 10
- Joined: Wed Aug 27, 2008 7:19 am
Re: MySQL or MySQLi ?
Hi there.
Am setting up a site i got a while ago and getting:
Database Error: Unable to connect to the database:The MySQL adapter "mysqli" is not available.
How can i change the server so it accept this mysqli ?
I have a VPS
Kent
Am setting up a site i got a while ago and getting:
Database Error: Unable to connect to the database:The MySQL adapter "mysqli" is not available.
How can i change the server so it accept this mysqli ?
I have a VPS
Kent
-
- Joomla! Apprentice
- Posts: 39
- Joined: Wed Dec 14, 2011 3:59 pm
Re: MySQL or MySQLi ?
well... the mysqli driver is not installed, install it or ask yer hosting provider to do it for you
- leolam
- Joomla! Master
- Posts: 20652
- Joined: Mon Aug 29, 2005 10:17 am
- Location: Netherlands/ Germany/ S'pore/Bogor/ North America
- Contact:
Re: MySQL or MySQLi ?
Do you have WHM (cPanel) and/or root access?Investor1 wrote: How can i change the server so it accept this mysqli ?
I have a VPSKent
Leo
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
-
- Joomla! Apprentice
- Posts: 10
- Joined: Wed Aug 27, 2008 7:19 am
Re: MySQL or MySQLi ?
Hi.
Yes, but my hosting support fixed it.
but thanks for the reply!
I1
Yes, but my hosting support fixed it.
but thanks for the reply!
I1
- erickaps
- Joomla! Enthusiast
- Posts: 106
- Joined: Thu Aug 17, 2006 9:27 am
- Location: United Kingdom
- Contact: