vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   mysqli -vs.- mysql (https://vborg.vbsupport.ru/showthread.php?t=100878)

run.exe 11-15-2005 06:08 PM

mysqli -vs.- mysql
 
I apologize if this thread has been posted in the wrong forum...

I am running MySQL v5.0.15 in conjunction with PHP v5.0.5 and vBulletin v3.5.1 (on a Windows 2003/SP1 Server with Apache v2.0.54).

Although my board functions (re: PHP) perfectly when I specify "mysql" in my vBulletin configuration, it will not even load when I specify "mysqli."

I have satisfied all prerequisite requirements:

- having php_mysqli.dll and libmysqli.dll in their proper locations
- ensuring that php.ini specifies both of the aforesaid modules/libraries
- recycling my Apache2 service after any/all edits to my vBulletin and/or php.ini configurations
- http://www.vbulletin.com/docs/html/main/mysqli


Specifically, I wish to use mysqli because a number of my forums are members-only (paid subscription) links to external (non-vB main) MySQL databases. Since upgrading to PHP5, authentication to said databses appears to have been broken - regardless of the MySQL syntax used (all of the below were tried without success):

- mysql_connect
- mysql_pconnect
- mysqli_connect


I suspect/hope that using mysqli may fix my authentication issues, per new syntax/deprecated MySQL commands.


Output of AdminCP-->Maintenance-->Execute SQL Query--> follows, below:


SHOW VARIABLES LIKE 'char%'


http://www.500Ecstasy.com/images/vbu...charoutput.jpg


When I edit the following line in includes/config.php a white/blank screen is displayed in my browser window; when I revert "mysqli" back to "mysql," the forum loads, once more:

$config['Database']['dbtype'] = 'mysqli';


:confused:

Anyone...?

Any/all help will (as ever) be most appreciated.

Thank you, in advance.

run.exe 11-17-2005 07:31 PM

Might this be related to the fact that I am also using PEAR (the version bundled with PHP v5.0.5)?

Marco van Herwaarden 11-17-2005 07:49 PM

Not sure if this is PEAR related. If i have the time i will try to do some test on a windows system with mysqli in the following days.


All times are GMT. The time now is 07:20 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01290 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete