mysql_pconnect |
[eluser]jjhii[/eluser]
I was doing some debugging and looked up mysql_pconnect from the MySQL driver and noticed that it is being deprecated in the next version. Are there any plans to replace it or update the MySQL drivers? http://php.net/manual/en/function.mysql-pconnect.php John
[eluser]Tpojka[/eluser]
Have you read whole first paragraph of page you've linked/posted here?
[eluser]jjhii[/eluser]
yep, read it the first time I saw it, read it again when I posted, and am reading it now. Since you made the statement I am obviously missing something and it is most likely obvious but sorry I'm still not see it, please explain, thanks...
[eluser]Tpojka[/eluser]
Now I am confused. First I thought you are asking about PHP itself. However it is old news and I stood double confused. You can use mysqli driver instead as well. Read in application/config/config.php file in EXPLANATION OF VARIABLES section. If you prefer PDO, it can be used too, but you need to change Code: $db['default']['hostname'] = 'localhost'; Code: $db['default']['hostname'] = 'mysql:host=localhost'; Code: $db['default']['dbdriver'] = 'mysql'; Code: $db['default']['dbdriver'] = 'PDO'; If you would use mysqli driver, you would need second change from here only: Code: $db['default']['dbdriver'] = 'mysql'; Code: $db['default']['dbdriver'] = 'mysqli';
[eluser]jjhii[/eluser]
Well I guess we are now both not confused Thanks for the response, that is just what I was looking for... |
Welcome Guest, Not a member yet? Register Sign In |