So I was getting some problems with connecting .NET and MySQL and figured there was something wrong with the connector. Went into my control panel -> uninstall/repair -> repair MySQL Connector Net 6.8.3.
The repair starts normally but after a few seconds I get a screen saying "A serious problem occured during the installation". I tried reinstalling it but just got to the MySQL installer and it said all my products are up to date.
Now I went into the MySQL installer again to uninstall the .Net connector and got the error:
Removing system registry values
UnregisterPerfCounterData
RollbackUnregisterPerfCounterData
Unpublishing Product Features
Unpublishing assembly information
Updating component registration
InstallInitialize
1: MySQL Connector Net 6.8.3 2: {"SERIAL-CODE"} 3: 3
The product Connector/NET failed to remove successfully.
I have repaired all the Visual Studio products without any problems except this one that is really vital for my project.
So now I am not sure what I should do...
Needed a program like CCleaner to remove all the traces of the program on the computer then download it again and it worked!
Related
I have MySQL Community Server installed on my system. It is working fine but everyday at 12:00 AM (or when connecting to the internet after 12:00 AM) there is a pop up that checks for somethings and closes by itself.
But after the latest windows update, it is not closing by itself and rather gets terminated with an error code. I checked and the CLI works fine for me but I want to suppress this error message.
Here's the complete error message:
=================== Start Initialization ===================
MySQL Installer is running in Community mode
Initializing product requirements.
Loading product catalog.
Checking for product packages in the bundle.
Categorizing product catalog.
Finding all installed packages.
There was an error encountered while loading the configuration and
product catalog: Access to the path 'C:\ProgramData\MySQL\MySQL Installer for Windows\settings-Community.xml' is denied.
Initialization failed. Please check the logs for more information.
[process exited with code 2 (0x00000002)]
Kindly help!
PS: I use Windows 11 and MySQL 8.0 Community Server
This problem can be solved by providing full control to the file named settings-Community.xml. By default it was only read/write but after changing it in /properties/security, the error message disappeared.
This is my first MySql install from the ground up.
I am using Windows Server 2016, trying to install MySql 8.0.15. I am doing this to try and use it with php 7.3.1.
The install has all the listed prerequisites.
When I get the config section of mysql insstaller, it breaks on the first response with an error of "Beginning configuration step: Writing configuration file
Invalid server template
Ended configuration step: Writing configuration file"
The system event log has one error, "The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID
{8D8F4F83-3594-4F07-8369-FC3C3CAE4919}
and APPID
{F72671A9-012C-4725-9D2F-2A4D32D65169}
to the user NT AUTHORITY\SYSTEM SID (S-1-5-18) from address LocalHost (Using LRPC) running in the application container Unavailable SID (Unavailable). This security permission can be modified using the Component Services administrative tool."
But I'm not sure this is even the right troubleshooting path to start down.
Can you assist with some guidance?
I had the same problem with the
mysql-installer-web-community.
The mysql-installer-community was working without a problem.
The bottom link is the none web installer which was working.
For me initially when I was not accepting the initial update mysql pop-up then installer was not working, but once I accepted it. Then it successfully worked for me.
I have been able to install after getting the same error.
I have changed the credentials for the sql root.
By default, host is set to something like %ALL_HOST%. I changed to localhost.
I ended up uninstalling all mysql 8 components that had already installed.
Then went back and got the mysql installer 5.7.25.0. I think I had some trouble after that, but it wasn't the same error. I finally ended up installing mysql 8.0.15 by itself and it worked. Then I went back and did the connectors. Next the workbench. Finally docs and samples. Doing them one at a time seemed to go better. I am now up and running.
Here's what I did to fix the issue
completely removed mySQL Server and Workbench installations.
uninstalled the mySQL web installer. Restarted my computer.
ran the mySQL web installer again (only installing mySQL Server)
downloaded the mySQL Workbench installer to install Workbench separately
I have Visual Studio 2017 Community installed, and MySQL Community 8.0.12 on a same PC. It is also equipped with MySQL for Visual Studio 2.0.5 and MySQL Connector/NET 8.0.12.
Now, using the DataSource Wizard in Visual Studio. I was able to test the connection to my server and select which Tables that I wanted to add to the DataSet.
However when I click Finish, a following errors showed up:
"Some updating commands could not be generated automatically. The database returned the following error: Unexpected Error"
This is followed by another error log:
"Could not retrieve schema information for table or view [tablename]"
for every Table I wanted to add.
I already looked up to some information regarding the said errors, but so far they are talking about older version of Visual Studio and MySQL. Any help will be appreciated. Thank you.
So after some fiddling and looking into MySQL official website, I downgraded my Connector/NET to version 6.9.8, and downgraded the MySQL for Visual Studio as well to version 1.2.7
Now the DataSource is able to get table definitions and so on.
Still a minor error shows up whenever the "FINISH" button in DataSource wizard is pressed, that shows up "Failed to add relation(s) Specified cast is not valid".
This error however doesn't prevent the DataSource to be created and used. I'm still not sure what caused this error though.
I have a problem my project made in vb2008 .net and using 32bit proccessor architecture and using mysql as a back end. And mysql.data and mysql odbc connector. In 32 bit architecture my system is working very well. But when i deploy it in 64bit i cant connect to database.. but i can open the database using the mysql administrator or mysql browser. And i got error "the type initializer for threw an exception" this is when checking if the connection state is close. Please help me.. sorry for bad english
I was following the instructions, have downloaded mysql-installer-community-5.6.16.0.msi – 250.8MB, using this trying to add MySQL Server 5.6.21 - x64 from Available products, as soon as I select, I get an error - and have copied the error details - just wondering why I got stopped installing MySQL server, Thanks
System:
Windows 7 64 bit
It's bit weird as it mentioned in instructions, all have to do is to change the system time format, and it's installed successfully.