- 0
from MySQL, MySQLi or PDO and mysqli::$connect_error - the script for errors in the db-connection
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Posts
-
By +Eternal Tempest · Posted
Because of the EU (a good thing) newer android devices been getting 5 years worth of security patches. Except some Motorola which found the loop hole, and offer ZERO updates. In addition, Google for years have been making where it can patch some stuff by updating the core Google Play Store itself. As echoed earlier, you take the security risk in to your own hand beyond supported. -
By Brian Miller · Posted
Are people still using Teams? -
By Copernic · Posted
Win11Debloat 06.11.2026 by Razvan Serea Win11Debloat is a lightweight, easy to use PowerShell script that allows you to quickly declutter and customize your Windows experience. It can remove pre-installed bloatware apps, disable telemetry, remove intrusive interface elements and much more. The script also includes many features that system administrators and power users will enjoy. Such as a powerful command-line interface, support for Windows Audit mode and the option to make changes to other Windows users. All changes made by Win11Debloat can be easily reversed, and most removed apps can be restored via the Microsoft Store. A full guide on how to undo the changes is available here. Win11Debloat features: Below is an overview of the key features and functionality offered by Win11Debloat. Please refer to the wiki for more information about the default settings preset. Remove a wide variety of preinstalled apps. Click here for more info. Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads. Disable tips, tricks, suggestions & ads across Windows. Disable Windows location services & app location access. Disable Find My Device location tracking. Disable 'Windows Spotlight' and tips & tricks on the lock screen. Disable 'Windows Spotlight' desktop background option. Disable ads, suggestions and the MSN news feed in Microsoft Edge. Hide Microsoft 365 ads on the Settings 'Home' page, or hide the 'Home' page entirely. Disable & remove Microsoft Copilot. Disable Windows Recall. Disable Click to Do, AI text & image analysis tool. Prevent AI service (WSAIFabricSvc) from starting automatically. Disable AI Features in Edge. Disable AI Features in Paint. Disable AI Features in Notepad. Disable the Drag Tray for sharing & moving files. Restore the old Windows 10 style context menu. Turn off Enhance Pointer Precision, also known as mouse acceleration. Disable the Sticky Keys keyboard shortcut. Disable Storage Sense automatic disk cleanup. Disable fast start-up to ensure a full shutdown. ...and more. Once you’ve downloaded the Win11Debloat file (Get.ps1), just follow these quick steps: Locate the Get.ps1 script file. Right-click the file and select Run with PowerShell from the context menu. If prompted by User Account Control (UAC), select Yes to grant the script the necessary administrative permissions. Win11Debloat 06.11.2026 fixes: Fix lock screen spotlight option being disabled when disabling the start recommended section by @Raphire in #619 Fix log message formatting by @Raphire Note The -RemoveCommApps and -RemoveW11Outlook command-line parameters for uninstalling a few specific apps have been removed with this release. If you previously relied on these parameters, please see this wiki page for alternative methods of removing these apps. Download: Win11Debloat 06.11.2026 | Open Source View: Win11Debloat Home Page | Screenshots 1| 2 Get alerted to all of our Software updates on Twitter at @NeowinSoftware -
By SnyPer456 · Posted
"Gradual Rollout"... Sigh...🙄 -
By Liberi_Fatali · Posted
Yes for me, I installed 'old calculator' (Windows 7 calculator) in its place since it is more useful to me. I think paint is the only one I left installed
-
-
Recent Achievements
-
restore went up a rank
Rookie
-
AndrewSteel earned a badge
Very Popular
-
Taliseian went up a rank
Veteran
-
Clizby earned a badge
One Month Later
-
Timaximus earned a badge
One Month Later
-
-
Popular Contributors
-
Tell a friend
Question
tarifa
hello dear experts -.
good day @all - my name is tarifa - i am pretty new to this forum.
well today i need your help in a wordpress issue.
i thought that during the installation process the file wp-config-sample.php gets to wp-config.php - but this is not happening. - i have gathered some more infos and inights due to some tests. see the following data: - the outcome of a testscript:
Warning: mysqli_connect(): (HY000/2002): No such file or directory in /sites/www.mysite.de/tests.php on line 3 Warning: mysqli_error() expects parameter 1 to be mysqli, boolean given in /sites/www.mysite.de/tests.php on line 4 could not connectsee the script;
on the webmin-frontend (that is the area i have to controll and configure all the stuff on the server')
1 USE yourdatabase; 2 SHOW GLOBAL VARIABLES LIKE 'PORT'; 3 SHOW GRANTS FOR CURRENT_USER;i get back the following results:
check the manual that corresponds to your MySQL server version for the right syntax to use near ''name of my db'; SHOW GLOBAL VARIABLES LIKE 'PORT'; SHOW GRANTS FOR CURRENT_USER' at line 1and the following
Failed to execute SQL : SQL USE 'name of my db'; SHOW GLOBAL VARIABLES LIKE 'PORT'; SHOW GRANTS FOR CURRENT_USER; failed : You have an error in your SQL syntax;well - i am a bit unsure what i can do now.
well - since there is no connection_error property in mysqli. i think that i have to check connection error using
if ($conn->connect_error) { die('Connect Error: ' . $conn->connect_error); }well i have to read the manpages here http://php.net/manual/en/mysqli.connect-error.php in order to learn what i need to get more insights.,
btw: I have Linux Server. Apache 2.4.10, PHP Version 5.6.39 and mysqlnd 5.0.11-dev - 20120503 - installed. There are several wordpress website running on server.
do i have MySQL or MySQLi - i am not sure.
what would you do now!?
by the way: just another question.... regarding the different systems in DB-terms: we have got different systems that are available generally...
MySQL - MySQLI and PDO . if we compare the different systems then we can say.
a. The now extinct mysql library and the mysqli library are two completely different animals.
b. we may forget about mysqli - since PDO is much much better - so we should probably make use of PDO.
see the three systems in a ASCII - Comparison..:
+---------+-------------+
| mysql | dodo |
| mysqli | donkey |
| PDO | racehorse |
what do you suggest - should i ask my serveradmin that he will update & upgrade the whole system - in order to have a modern system... And then i run the mysqli_error_(function)
Love to hear from you
regards Tarifa
Link to comment
https://www.neowin.net/forum/topic/1384033-from-mysql-mysqli-or-pdo-and-mysqliconnect_error-the-script-for-errors-in-the-db-connection/Share on other sites
6 answers to this question
Recommended Posts