MySQL Server install fails with the following error - mysql

I tried installing MySQL Server versions 5.5 as well as 5.1, both fail at the same following stage:
mysql-server-5.1-winx64:6 - Looking for valid template
mysql-server-5.1-winx64:100 - Failed to process template.
mysql-server-5.1-winx64:100 - Product configuration controller finished configuration.
I have been trying to troubleshoot this for quite some time and am running out of ideas. I appreciate any suggestions.
Thanks in advance!

Try to do a custom install by changing the default Data File Path provided. Alter it to a path that your user has privileges !

Related

loading the mysql module

I am 85 and trying to keep my brain active by converting a php/mysql page, that i wrote to node.js.
require 'mysql';
I have the nodejs server up and running. it delivers, correctly, an html page i wrote. i 'require fs' and get it but i cannot find a mysql module. when i npm mysql it fails with a warning of deprecation. my question is how can i get 'mysql' installed so that i can 'require' it? is there a 'mysql' module that i can downlod and place in the c:/nodejs/node_modules folder? Naive?
I have been learning node.js for months. Hopefully I can help:
Check your "package.json" in the code editor (VS Code/Atom).
Check whether "mysql" version in "dependencies" or not.
If no, go to terminal, type "npm install mysql".
After completion, it should have included in "dependencies".
Require mysql in your mysql database connection file (Example: const mysql = require("mysql");)
I think it should be working fine already.
You can always remove existing mysql by typing npm remove mysql in the terminal then go back to Step 3 to reinstall it.
Hope it helps. Thanks

How to solve OctoberCMS database missing?

I ve just recently discovered OctoberCMS. Everything works perfectly on my localhost server. Once i deploy to production server i get the following error:
"Database missing
A database is required to access the back-end. Check the database is configured and migrated before trying again."
I have tried installing from cPanel and have also tried ftp and making sure the .env reflects my production database details, but still getting same error.
Can anyone here plz help? Thanks a lot in advance.
You should check all database accesses in config/database.php file. If the access is correct, try reading the configuration cache with php artisan config:clear.
If this does not help, and the error does not change, it is worth checking the availability of the library responsible for connecting to the base in your php.ini file. In my case, the problem was exactly there (the library was closed)
I had that error after fresh install...After restarting the php server, the error was gone

MySql 8.0.15 install failure Invalid Server Template

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

ERROR :Could not load the script in /usr/local/lib64/kamailio//kamctl/kamdbctl.mysql for database engine MYSQL

I am getting this error when trying to create the database on kamailio.
I've used the following command : sudo /usr/local/sbin/kamdbctl create.
I've set the DBENGINE=MYSQL in kamctlrc file and saved as well. Still getting this error. Anyone please suggest me how to proceed. I've tried all possible ways but couldn't find the solution anywhere online.
ERROR :Could not load the script in /usr/local/lib64/kamailio//kamctl/kamdbctl.mysql for database engine MYSQL
ERROR: database engine not loaded - tried 'MYSQL'
The file kamdbctl.mysql is installed when you install db_mysql module. Be sure that module is installed. Next is a sequence to get the module installed:
make include_modules="db_mysql" cfg
make all
make install

Error loading MySQLdb module: /usr/lib64/libperconaserverclient.so.18: version `libperconaserverclient_16' not found

I'm suddenly getting the following error on my hosted Django website:
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: /usr/lib64/libperconaserverclient.so.18: version `libperconaserverclient_16' not found (required by /home1/reconess/python/lib/python2.7/site-packages/_mysql.so)
The site was working fine last week, then this week (with no changes made by us), we're getting that error. I'm thinking it might be a change to the MySQL setup done by the host (perhaps some update to Percona?), but given that I have very little idea of what Percona is, let alone how Django, MySQL, and Percona interact I'm having some problems figuring out what's gone wrong and how to fix it.
The file /usr/lib64/libperconaserverclient.so.18 definitely exists.
Thanks for any help.
Same thing happened to me today on a shared server with BlueHost. The following command did the trick.
pip3.5 install --upgrade mysqlclient
I just looked at your full error message and noticed you are running python2.7, so your call to pip might be slightly different.