Quantcast
Channel: MySQL Forums - Install & Repo
Viewing all 7242 articles
Browse latest View live

8.0.21 Warning : Plugin mysqlx reported: 'Failed at SSL configuration: "SSL context is not usable without certificate and private key"' (no replies)

$
0
0
Greetings,

I've installed MySQL 8.0.21 community edition at a Centos 7.7 host.

The following warning appears in err log :
2020-09-24T09:27:19.826891+03:00 0 [Warning] [MY-011302] [Server] Plugin mysqlx reported: 'Failed at SSL configuration: "SSL context is not usable without certificate and private key"'

As per "ssl" related settings - only the following appears in /etc/my.cnf :
skip_ssl


How can i get rid from that warning from err file ?

Thanks in advance

I uninstalled mysql (no replies)

$
0
0
Then reinstalled it and I still get this error.

How to fix this so I can login to mysql ?

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)


On Linux

install 5.7.31 together with 8.0.21 on ubuntu (no replies)

$
0
0
Sorry for the double post but before I answered to myself accidentally.

Hi experts,

again a question about having two versions:

I understand I can use apt only if I have one version of MySQL. The req now is to install 5.7.31 together with 8.0.21

I am trying to find the easy way using precompiled binary with mysqld --initialize

but where to find it? Could somebody please point me to the precompiled binary for ubuntu 18.04.1

Thanks a lot

Peter

Mysql installation in silent mode (no replies)

$
0
0
Hi,

i have a question:

i will install my mysql on this way:

1.) msiexec /i "%~dp0\mysql-installer-community-%version%.0.msi" /qb
2.) %installer% community install server;%version%;X86:*:port=3306;openfirewall=true;passwd=%password% -silent
3.) %installer% community install Connector/Net;%versionConnector%;X86 -silent
4.) msiexec /i "%~dp0\mysql-workbench-community-%versionWorkbench%-win32.msi" /qb
5.) %installer% community install Shell;%versionShell%;X86 -silent

When I install the program with the installer I am asked which type I want to use: Dedicated / Server / Development

I would like to have Server. How do I give this as an option in these commands above?

thx for Help

Copying mysql and related programs to new desktop computer (no replies)

$
0
0
I'm not a programmer, computer whiz or anything even remotely close. Instead, I'm a small business owner whose programmer/computer whiz passed away unexpectedly and I am needing some assistance.

We have custom programs (written by the deceased) that are operating well on Computer A. I need to add these programs to Computer B. In the past, I've had dumb luck just copying and pasting all of the programs over, pushing a few buttons and voila, they worked. On the few occasions where that didn't work, my programmer was always able to step me through some actions over the phone and get them functioning properly.

Since I don't really "speak computer," I'm not even sure how to ask the right questions on this forum. I ask for your patience and understanding. I'm pretty sure that my main problem, at this point, is that I'm unable to "connect to the local host."

Is there someone out there who might be able to assist me and/or put me in contact with someone who can assist?

Writing configuration file error (no replies)

$
0
0
Installing mySQL on Windows 10 , and when I got to that part , it just has an X in the circle .

Log :

Beginning configuration step: Writing configuration file

Saving my.ini configuration file...
Object reference not set to an instance of an object.
Ended configuration step: Writing configuration file

Install MySQL SERVER (no replies)

$
0
0
Good evening everyone,
I have a particular request:

I have a VMware virtualization environment, on which VMs run, with different Web Services (Nextcloud / Website / guacamole and a jitsi server, Reverse Proxy), each with its own local database.

my need was to have a VM that acts as a MySQL Server, on which to host all the services present on the VMs in the LAN.

I have already followed the online guides, and I created the MySQL server with phpmyadmin with apache on ubuntu server 20.4, the only problem is that the server only accepted connections in local host via UNIX and not TCP.

i followed some guides, replacing phpmyadmin config.inc.php file made the connection via tcp.

instead putting as bind address 0.0.0.0, I can reach the server through a VM present in lan in ssh with mysql -h 192.168.1. * -u user, but not through php when I try to connect the apps.

through the VM that acts as a reverse proxy, I redirected the requests arriving on mysql.mydomain.it to ip_MySQLserver / phpmyadmin, in order to reach it from outside but it gives me cookie and https errors.



my intention would be to create the server and make it reachable in the lan and also from the outside, for example if I want to have a VM on AWS or AZURE that uses the db present on the server in the lan and therefore if I look for mysql from any place .mydomain.it has to send me to the administration interface and by writing my public ip or db.mydomain.it reach the server through the other VMs to populate the db, as do the database providers.


can you advise me the best solution? if i have to use windows server or linux? and how should I do to have this configuration with the comunity edition

Thanks

YUM repo broken: mysql-connector-odbc 8.0.22 (no replies)

$
0
0
Hello,

I tried to post this a few days ago, but it never made it to the forum.
Here is may update error again:



Hello,

I'm using the community repo under:

[1] http://repo.mysql.com/yum/mysql-connectors-community/el/7/x86_64/

When I install mysql-connector-odbc I get the following error:

[root@m yum]# yum install mysql-connector-odbc
Loaded plugins: langpacks, protectbase, versionlock
0 packages excluded due to repository protections
Resolving Dependencies
--> Running transaction check
---> Package mysql-connector-odbc.x86_64 0:8.0.22-1.el7 will be installed
--> Processing Dependency: mysql-community-client-plugins = 8.0.22 for package: mysql-connector-odbc-8.0.22-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: mysql-connector-odbc-8.0.22-1.el7.x86_64 (mysql-connectors-community)
Requires: mysql-community-client-plugins = 8.0.22
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@m yum]#

Where are the two files?:

- mysql-connector-odbc-8.0.22-1.el7.x86_64
- mysql-community-client-plugins-8.0.22

they aren't listed in the repo[1].

The SRPM is available here:

http://repo.mysql.com/yum/mysql-connectors-community/el/7/SRPMS/

but no pre-build 8.0.22 is in the repo[1]

If I sync the *Server* repo with reposync:

reposync --repoid=mysql80-community

(26/211): mysql-community-client-plugins-8.0.22-1.el7.i686.rpm
(27/211): mysql-community-client-plugins-8.0.22-1.el7.x86_64.rpm


there is is!

And if I sync the mysql-connectors-community repo:

reposync --repoid=mysql-connectors-community

(77/175): mysql-connector-odbc-8.0.22-1.el7.x86_64.rpm
(78/175): mysql-connector-odbc-8.0.21-1.el7.x86_64.rpm

found it, by syncing!

I see two problems here:

One is:

"mysql-community-client-plugins" can only be "seen" if I mirror
the repos with reposync, the same for "mysql-connector-odbc"

The other is:

mysql-connector-odbc depends on a server repo, which I haven't installed.


I'm more interested in the new server dependency:
Is it really necessary to depend the odbc rpm onto a package in the server part?

regards,

Martin

[MySQL 5.7]cPanel downgrading from MariaDB doed not start (no replies)

$
0
0
Hello,
I just purchased a host subscription that has by default MariaDB and had problems with to restore my data backup, so I tried to DOWNGRADE to MySQL 5.7.
The problem is that I cannot make MySQL to start for the first time (there is no data in this new server), following is an extract of the MySQL log file mysqld.log

2020-11-12T16:21:53.327911Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2020-11-12T16:21:53.328309Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.32) starting as process 25524 ...
2020-11-12T16:21:53.331050Z 0 [Note] InnoDB: PUNCH HOLE support available
2020-11-12T16:21:53.331075Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2020-11-12T16:21:53.331079Z 0 [Note] InnoDB: Uses event mutexes
2020-11-12T16:21:53.331082Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2020-11-12T16:21:53.331085Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-11-12T16:21:53.331089Z 0 [Note] InnoDB: Using Linux native AIO
2020-11-12T16:21:53.331308Z 0 [Note] InnoDB: Number of pools: 1
2020-11-12T16:21:53.331393Z 0 [Note] InnoDB: Using CPU crc32 instructions
2020-11-12T16:21:53.332615Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2020-11-12T16:21:53.338863Z 0 [Note] InnoDB: Completed initialization of buffer pool
2020-11-12T16:21:53.340656Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2020-11-12T16:21:53.353410Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2020-11-12T16:21:53.353574Z 0 [ERROR] InnoDB: Unsupported redo log format. The redo log was created with MariaDB 10.2.33. Please follow the instructions at http://dev.mysql.com/doc/refman/5.7/en/upgrading-downgrading.html
2020-11-12T16:21:53.353587Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2020-11-12T16:21:53.954595Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2020-11-12T16:21:53.954653Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2020-11-12T16:21:53.954659Z 0 [ERROR] Failed to initialize builtin plugins.
2020-11-12T16:21:53.954662Z 0 [ERROR] Aborting

2020-11-12T16:21:53.954719Z 0 [Note] Binlog end
2020-11-12T16:21:53.954807Z 0 [Note] Shutting down plugin 'CSV'
2020-11-12T16:21:53.955126Z 0 [Note] /usr/sbin/mysqld: Shutdown complete

How can I fix this problem?
Any help would be appreciated.

Issues with Mysql installation on ubuntu (3 replies)

$
0
0
Hello,

I have troubles understanding and installing mysql 5.7 on ubuntu 20.04.

Before install I run the command and see the following:

$ dpkg --get-selections | grep mysql
libmysqlclient21:amd64 install
mysql-apt-config install
mysql-common install
mysql-community-client install
mysql-community-server deinstall
mysql-server-8.0 deinstall
mysql-workbench-community install
but when I run mysql from command line, I get the following message:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
It appears to me that mysql server is not completely installed so I run the following command to do the install fresh but the error below:

I did some research but no matter what I do , this is not getting resolved.

Any help is greatly appreciated

mysql 5.7 service is not starting (1 reply)

$
0
0
I have a windows server 2012 R2

I have MYSQL 5.7.30 installed

The security software lapsed due to a misconfiguration on cisco's website. So in order to stop the sql injection attacks I went into my.ini and uncommented the
skip networking line.

Cisco fixed the security software issue, so I went into my.ini and commented out the skip networking line.

I rebooted the server and the my sql service does not start. I went into the environmental variables and seen that the mysql path was set to 5.5 vice 5.7. I corrected that and ensure the path was correct and rebooted the server.

The service would not start. I have a copy of 5.7 on the server and tried a reinstall with no success. Mysql service hangs.

I decided to remove the service by sc delete mysql57 and it removed the service.

I made a copy of the Data files in a safe location

Is it possible to recover all of this without a complete reinstall? If a complete reinstall is necessary, can the data files be used to recover the databases?

I do nightly backups of the server, so that option is available, but if there is a quicker fix, I would appreciate any knowledge.

Thanks !

Installing mysql on IBM Cloud (no replies)

$
0
0
Step 1 provision Kubernetes Cluster
• Click the Catalog button on the top
• Select Service from the catalog
• Search for Kubernetes Service and click on it


• You are now at the Kubernetes deployment page, you need to specify some details about the cluster
• Choose a plan standard or free, the free plan only has one worker node and no subnet, to provision a standard cluster, you will need to upgrade you account to Pay-As-You-Go
• To upgrade to a Pay-As-You-Go account, complete the following steps:
• In the console, go to Manage > Account.
• Select Account settings, and click Add credit card.
• Enter your payment information, click Next, and submit your information
• Choose classic or VPC, read the docs and choose the most suitable type for yourself


• Now choose your location settings, for more information please visit Locations
• Choose Geography (continent)

• Choose Single or Multizone, in single zone your data is only kept in on datacenter, on the other hand with Multizone it is distributed to multiple zones, thus safer in an unforseen zone failure

• If you wish to use Multizone please set up your account with VRF or enable Vlan spanning
• If at your current location selection, there is no available Virtual LAN, a new Vlan will be created for you
• Choose a Worker node setup or use the preselected one, set Worker node amount per zone

• Choose Master Service Endpoint, In VRF-enabled accounts, you can choose private-only to make your master accessible on the private network or via VPN tunnel. Choose public-only to make your master publicly accessible. When you have a VRF-enabled account, your cluster is set up by default to use both private and public endpoints. For more information visit endpoints.

• Give cluster a name

• Give desired tags to your cluster, for more information visit tags

• Click create

• Wait for you cluster to be provisioned

• Your cluster is ready for usage

Step 2 deploy IBM Cloud Block Storage plug-in
The Block Storage plug-in is a persistent, high-performance iSCSI storage that you can add to your apps by using Kubernetes Persistent Volumes (PVs).
• Click the Catalog button on the top
• Select Software from the catalog
• Search for IBM Cloud Block Storage plug-in and click on it

• On the application page Click in the dot next to the cluster, you wish to use
• Click on Enter or Select Namespace and choose the default Namespace or use a custom one (if you get error please wait 30 minutes for the cluster to finalize)

• Give a name to this workspace
• Click install and wait for the deployment



Step 3 deploy MySQL

We will deploy MySQL on our cluster
• Click the Catalog button on the top
• Select Software from the catalog
• Search for MySQL and click on it



• Please select IBM Kubernetes Service

• On the application page Click in the dot next to the cluster, you wish to use


• Click on Enter or Select Namespace and choose the default Namespace or use a custom one

• Give a unique name to workspace, which you can easily recognize

• Select which resource group you want to use, it's for access control and billing purposes. For more information please visit resource groups


• Give tags to your MySQL, for more information visit tags


• Click on Parameters with default values, You can set deployment values or use the default ones



• Please set the MySQL root password in the parameters

• After finishing everything, tick the box next to the agreements and click install

• The MySQL workspace will start installing, wait a couple of minutes

• Your MySQL workspace has been successfully deployed



Verify MySQL installation
• Go to Resources in your browser
• Click on Clusters
• Click on your Cluster



• Now you are at you clusters overview, here Click on Actions and Web terminal from the dropdown menu

• Click install - wait couple of minutes


• Click on Actions
• Click Web terminal --> a terminal will open up
• Type in the terminal, please change NAMESPACE to the namespace you choose at the deployment setup:
$ kubectl get ns


$ kubectl get pod -n NAMESPACE -o wide


$ kubectl get service -n NAMESPACE

• Enter your pod with bash , please replace PODNAME with your MySQL pod's name
$ kubectl exec --stdin --tty PODNAME -n NAMESPACE -- /bin/bash
• After you are in your pod please enter enter Mariadb and enter your root password after the prompt
$ mysql -u root -p

unable to install mysql-workbench-community-dbgsym (no replies)

$
0
0
Hello. After I downloaded mysql-workbench version: 8.0.22-1ubuntu20.10 from official website www.mysql.com I can't install it on my Ubuntu 20.04.1 LTS.
"unable to install mysql-workbench-community-dbgsym:
the following packages have unmet dependencies:"
The dependencies aren't listed.
Any thoughts?

Community Installer upgrade fails security check (1 reply)

$
0
0
Hello,
Looking for updates on Community Edition on Windows 10, I launched the installer, then was informed that there was a mandatory update to the installer and when attempting to update the installer, received the message:

MySQL Installer for Windows:
Update download failed security check

Subsequently, no way to proceed with any update.
Checked it on at least 3 different pc's with no more luck.

FWIW

Cheers

Philippe

How to Integerate MySql to the Android App (no replies)


Old MySQL version settings (2 replies)

$
0
0
Hey,

the company that I work for uses an old webshop based on PHP. It has been programmed by a single freelancer and the code is pretty ugly.

However, the shop used to work fine until our hoster decided to update our MySQL database from 5.6 to 8. Now our webshop is not working properly and I found out it's because of invalid sql queries being generated by the PHP code.

I set up an instance of MySQL 5.6 on a linux server to get the webshop working until we fix the problems in the code, but it doesn't seem to work with the default settings of version 5.6 either.

Does anyone know what the freelancer did to get rid of this error (without fixing the code):
(1136): Column count doesn't match value count at row 1.

This happens everywhere in the code and it worked fine until the MySQL update, so there must be a way. This must be some configuration property to ignore the error and just insert the fields provided.

I need a fast solution to get the shop working again before I can start debugging the code.

No my.ini on Windows 10 (no replies)

$
0
0
Hi guys,

I installed MySQL 8.0.22 on Windows 10.
After setting the server as a Windows service, logging in and even opening a Workbench session - I still cannot see any my.ini file ANYWHERE.

I looked in the usual "MySQL Server 8.0" folder (in both ProgramData\MySQL and Program Files\MySQL). I turned on "Show hidden files and folders".
I looked in %WINDIR% - nothing.

Please advise, what am I missing?

Thanks!
Mor

Uninstall MySQL 1.2.9 after VS removed (no replies)

$
0
0
I had a trial copy of Xamarin VS Community 2019 installed to test during a project. Another part of the project involved a MySQL database that I wanted to interrogate. I installed MySQL for Visual Studio 1.2.9 thinking it would help, but realized quickly that it was intended more as a helper for programming. Since my trial of VS was running out, I removed it thinking it would uninstall all dependent applications. It appears that I am now left with a full install of MySQL for VS but no way to remove it as the installer/uninstaller checks for VS prior to launching. Is there another method to remove MySQL without reinstalling VS first? That seems like a lot of wasted time to remove a small tool but if it's the only viable option I will proceed. I don't know if I still have the VS installer so it would be easier for me to just perform a manual install from a list of commands if one could be provided.

windows zip upgrade - cleanup afterwards (no replies)

$
0
0
On an existing server, I had to upgrade from 5.6.49 to latest 5.7 version.

Obviously could not use the installer to go from 5.6 to 5.7, so per documentation I used the zip upgrade method.

It worked like a champ. mysql_update ran without errors and end users have confirmed all is well.

Before releasing it for testing, I made a few changes after the fact (related to folders/paths/etc) so that the directory structure and my.ini reflected the now updated version of 5.7 instead of 5.6. Hated the fact that the 5.7 install was in folders/path showing 5.6.

All is good... almost.

If I run the installer, it still thinks that 5.6 is installed so wont offer any upgrades.

If I look in Programs&Features, it still shows the 5.6.49 version.

I have looked around but found no real information/documentation on how to clean up after doing a zip upgrade.

Given that the zip upgrade is the recommended path for upgrading in this situaion per the documentation, it seems there should be some documentation on cleanup after the fact.

I have found some information on how to do some registry edits that may change what is seen in Programs&Features. Not sure if that would change what mysql installer wills see/report though.

Also not sure what this upgrade method injects should one decide to back it all up and uninstall it in the future.

Anyone done the zip upgrade between non-minor versions and cleaned up afterwards?

Upgrading 5.7 to 8.0.21 getting errors when starting up (no replies)

$
0
0
Hi everyone,

I'm getting errors when mysql 8 starts to do the inplace upgrade of percona 8.0.22 from 5.7

How do I find which tables are giving me the [ERROR] [MY-013140] [Server] BLOB/TEXT column 'id' used in key specification without a key length errors?



2020-12-11T19:20:51.447877Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.21-12) starting as process 4301

2020-12-11T19:20:51.495429Z 0 [Warning] [MY-013242] [Server] --character-set-server: 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.

2020-12-11T19:20:51.541495Z 1 [System] [MY-011012] [Server] Starting upgrade of data directory.

2020-12-11T19:20:51.541591Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.

2020-12-11T19:21:24.303887Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.

2020-12-11T19:21:26.673453Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/lib/mysql/mysqlx.sock

2020-12-11T19:21:26.673910Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001287 - 'validate password plugin' is deprecated and will be removed in a future release. Please use validate_password component instead

2020-12-11T19:22:31.033652Z 2 [ERROR] [MY-013140] [Server] BLOB/TEXT column 'id' used in key specification without a key length

2020-12-11T19:22:31.732431Z 2 [ERROR] [MY-013140] [Server] BLOB/TEXT column 'id' used in key specification without a key length

2020-12-11T19:22:33.806794Z 2 [ERROR] [MY-013140] [Server] BLOB/TEXT column 'id' used in key specification without a key length

2020-12-11T19:22:42.906158Z 2 [ERROR] [MY-010520] [Server] Invalid (old?) table or database name 'lost+found'

2020-12-11T19:22:42.906668Z 2 [Warning] [MY-010772] [Server] db.opt file not found for lost+found database. Using default Character set.

2020-12-11T19:22:42.912252Z 2 [Warning] [MY-010772] [Server] db.opt file not found for mplustemp database. Using default Character set.

2020-12-11T19:22:53.653014Z 2 [Warning] [MY-010772] [Server] db.opt file not found for tmp database. Using default Character set.

2020-12-11T19:23:07.181430Z 0 [ERROR] [MY-010022] [Server] Failed to Populate DD tables.

2020-12-11T19:23:07.182187Z 0 [ERROR] [MY-010119] [Server] Aborting

2020-12-11T19:23:08.750182Z 0 [Warning] [MY-011068] [Server] The syntax 'validate password plugin' is deprecated and will be removed in a future release. Please use validate_password component instead.

2020-12-11T19:23:12.268221Z 0 [Warning] [MY-010738] [Server] Plugin 'audit_log' will be forced to shutdown

2020-12-11T19:23:12.277628Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.21-12) Percona Server (GPL), Release 12, Revision 7ddfdfe.
Viewing all 7242 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>