Author: Alex

How to move VirtualBox virtual machines to another drive or computer

Migration of VirtualBox virtual machines VirtualBox virtual machines can be transferred in whole or in part (for example, only virtual disks) within the same computer (for example, to a faster SSD), as well as between computers. This note will tell you how to properly migrate VirtualBox virtual machines without the need for a long setup afterwards. Important: moving virtual machines...

ERROR 1044 (42000): Access denied for user ‘mial’@’localhost’ to database ‘TestDB’. Can’t create MySQL database (SOLVED)

Why can't user create MySQL (MariaDB) database When trying to create a database, you may encounter an error: ERROR 1044 (42000): Access denied for user 'mial'@'localhost' to database 'TestDB' The reason for the error is that the specified user (username “mial” in this example) does not have the authority to create databases. The solution to the problem depends on the...

How to list MySQL/MariaDB users and their privileges (using RDBMS client and PHP)

This note explains which queries can be used to list MySQL and MariaDB users. The article shows how to run these commands in MySQL/MariaDB query string as well as with PHP. How to display a list of users and their privileges using the DBMS client Queries to list MySQL / MariaDB users To list all users in MySQL / MariaDB,...

Finding multiline matches with PHP regular expressions

Multiline in PHP regular expressions By default, regular expressions in PHP look for matches within the same string. And in this case, the symbol “.” (dot) which is usually described as “anything” actually means “anything but a new line”. This default behavior can be overridden with a pattern modifier in case you need to find matches that extend beyond a...

Automatic code highlighting on websites

Automatic markup of code on sites In this article, you will learn how to enable syntax highlighting of the source code on your websites. Code highlighting means automatic coloring of program source code elements in different colors in accordance with the syntax of the programming language. The shown option is suitable for both WordPress sites and any other sites. Note:...

Error “Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed” (SOLVED)

When using SMB and connecting to a Windows network share (share), an error may occur: Unable to access \\XXX. You may not have permission to use this network share. Contact the administrator of this server to obtain the appropriate permissions. Multiple connections to a server or shared resource by the same user, using more than one user name, are not...

The complete guide to HDR: how to enable, how to set up, how to watch HDR movies and YouTube, troubleshooting HDR problems in Windows

Table of contents 1. What is HDR for? 2. How to enable HDR on Windows. What is needed for HDR 3. Step by step guide to enable HDR in Windows 4. Why does everything look gray and dark when HDR is on? 5. How to check if HDR is being used 6. How to enable HDR on YouTube and Netflix...

Is HDMI or DisplayPort better for the ultimate picture, sound, HDR, FreeSync, G-Sync and more

Key takeaway: HDMI and DisplayPort have multiple versions that support different data rates. Even on the same device, HDMI and DisplayPort can support different speeds, so if you're not satisfied with HDMI performance, then try DisplayPort. Usually, the DisplayPort port supports higher speed. Better HDMI or DisplayPort for HDR and good picture The latest versions of HDMI or DisplayPort support...

What you need to pay attention to when buying a TV (monitor) for HDR

Bottom Line: Just because a TV or monitor says HDR in its specs, it doesn't automatically mean you'll get the most out of this technology. If the TV (monitor) does not support sufficient brightness or color depth, then you will hardly notice the difference between HDR and SDR. HDR looks different for different manufacturers HDR has not only several formats,...

What resolution and aspect ratio of photos to choose in the camera settings

Modern digital cameras and mobile phones allow you to take a photo at the touch of a button. This is very different from how they photographed thirty or forty years ago. All these focus, exposure, ISO settings are hidden in the Pro mode of the camera. And few people use these professional settings – and, by the way, others miss...
Loading...
X