Issue with authentication plugin for MySQL Enterprise Edition - mysql

I have installed a trial of the MySQL Enterprise Edition and when connecting using the bundled Workbench software i get the following error:
Authentication plugin caching_sha2_password cannot be loaded: The specified module cannot be found
About which there i can find very little information. Most solutions return to the old authentication method, but I don't want to do that, and it doesn't seem to work anyway...
HeidiSQL gives the same error message.
Any suggestions?

I found a workaround in the HeidiSQL Github repository:
https://github.com/HeidiSQL/HeidiSQL/issues/163
I fixed by copying libmysql.dll from my last MySql install to my HeidiSQL folder.

Related

Mysql 8.0.29 installation failed

The installation failed at this point
I have already installed Microsoft Visual Studio c++ 2019.
I already uninstalled and delete all the hidden folders.
I read that for someone the solution was to turn off Windows firewall, I already tried it.
I also checked multiple videos of how to install MySQL, but they have the same steps, just a different voice.
Any suggestions?
Check some log information.
When you uninstall mysql, you should delete the relevant information about mysql in the registry.
3.install .net 4.5.2+

Error at installation type in oracle forms 12.2.1.4.0

I installed the web logic and trying to install the oracle forms and reports 12.2.1.4.0 version, but process halts at installation type without any error.
Can someone guide to resolve the issue.
You can only do the full install on top of Fusion Middleware Infrastructure of the same version (12.2.1.4). You cannot install on top of vanilla WLS.

Install Dreamfactory on Xampp

I have been trying to install Dreamfactory on Xampp but can't find a single article on how to do so.
Purpose: To generate REST API in php with mysql.
What I have tried:
Initially I installed windows version of
Dreamfactory from official site. It was installed successfully but it don't allow access to MYSQL database in free version. Paid version is out of my budget, so I tried with Xampp. I downloaded open-source version from
Github. After extracting it, executed php artisan serve in xampp command shell as mentioned on Dreamfactory Wikipedia Installation guide. This resulted in following error:
Warning: require(D:\xampp\htdocs\sandbox\dreamfactory\public/../vendor/autoload.php): failed to open stream: No such file or directory in D:\xampp\htdocs\sandbox\dreamfactory\public\index.php on line 24
Fatal error: require(): Failed opening required 'D:\xampp\htdocs\sandbox\dreamfactory\public/../vendor/autoload.php' (include_path='D:\xampp\php\PEAR') in D:\xampp\htdocs\sandbox\dreamfactory\public\index.php on line 24
As mentioned in Git documentation, they have given installation procedures for Ubuntu and Debian. Further more, they have mentioned about Bitnami official installation software, but non for XAMPP or stuff like that.
Question:
Is there any way we can install Dreamfactory on XAMPP? If yes, how so!
I'd venture it's going to be fairly difficult task to run DreamFactory on XAMPP because DreamFactory requires quite a few dependencies which are not installed on XAMPP by default.
Your best bet would be to run the Bitnami for DreamFactory environment, or alternatively use Docker. Both can be downloaded from the DreamFactory website downloads page. Alternatively, if you'd like to run DreamFactory in a VM, the OSS download README points to automated installers for Debian and Ubuntu. Additional installers for CentOS and Fedora are found here, they work great however we just haven't moved them into the official distribution yet.

Using Windows MySQL Workbench 8.0 with Mariadb and PAM authentication

I'm currently attempting to get the latest version of MySQL Workbench for Windows to connect to Mariadb v 5.6.10 running on CentOS. With a user authenticated using MySQL's built-in authentication, I can connect fine (I get an incompatibility message, but I can still connect and run queries), but if I try to connect using a PAM-authenticated user, it complains about a missing DLL:
Authentication plugin 'dialog' cannot be loaded.
With procmon, I was able to determine that it is looking for C:\Program Files\MySQL\MySQL Server 8.0\lib\plugin\dialog.dll
Under the pre-8 versions of MySQL Workbench, you could simply extract the DLL from the Windows MariaDB distribution and copy it to the appropriate directory, but this doesn't work with Workbench 8.0 (I tried with the latest Mariadb Windows distribution and it complained about an API incompatibility with the version of dialog.dll I copied in). Are there any DLLs that will allow this to work? Any other workaround?
An alternative is to change the sever configuration and force the client to use mysql_clear_password instead of dialog. However this will not work if PAM service requires multiple questions or challenge-responses.
[mariadb]
....
pam_use_cleartext_plugin

MySQL connectivity error unable to retrieve list of database

I am trying to connect visual studio to MySQL and get the following error.I looked it up online but couldn't find a solution. Here is the picture of error.
caching_sha2_password is the new default authentication algorithm for MySQL 8.0.4.
In order to connect to a server using that algorithm, you also need your client compiled against a compatible libmysqlclient. I guess the Visual Studio tooling hasn't been upgraded yet.
First I'd try to install the newest Connector/.NET, starting with 8.0.11:
Changes in MySQL Connector/Net 8.0.11 (2018-04-19, General Availability)
Support was added for the new caching_sha2_password padding mechanism introduced in the MySQL 8.0 release series
If that doesn't work, downgrade the authentication for that user, for example to mysql_native_password:
ALTER USER 'root'#'localhost' IDENTIFIED WITH mysql_native_password BY '$yourPasswordHere';
[SOLVED]
Well finally I downloaded the previous version of MySQL which is 5.7.22. After that I downloaded MySQL.Data and MySQL DLLs from nuGet then connected visual studio 2017 with MySQL then it established a successful connection.
Before installing previous version of MySQL you must uninstall currently installed MySQL. Hope it helps someone who is facing the same issue.