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

Need help wth command line installation on WIndows Please (no replies)

$
0
0
Hi,

I need help with command line installation on Windows please

I need to make a silent installation and configure the instance and root password

can this all be done using the mysql-installer-community-8.0.17.0.msi file or there are more steps?

can anyone guide please?


Thanks,
Jassim

Upgrade from MySQL8.0.16 to MySQL8.0.17 failed (1 reply)

$
0
0
In-Place Upgrade MySQL8.0.16 to MySQL8.0.17

the error I got after "mysqld_safe --defaults-file=/etc/my.cnf --user=mysql --upgrade=force" been executed:

[System] [MY-013381] [Server] Server upgrade from '80016' to '80017' started.
[Note] [MY-013386] [Server] Running queries to upgrade MySQL server.
[ERROR] [MY-013178] [Server] Execution of server-side SQL statement 'ALTER TABLE slave_worker_info STATS_PERSISTENT=0;
' failed with error code = 1205, error message = 'Lock wait timeout exceeded; try restarting transaction
[ERROR] [MY-013380] [Server] Failed to upgrade server.
[ERROR] [MY-010119] [Server] Aborting

problems with mysql instance (1 reply)

$
0
0
Hi every one,

I was trying to create another mysql instance but I faced a problem.
----------
My OS VERSION is:
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.6
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.6"

----------
My MySQL version is: mysql Ver 14.14 Distrib 5.7.25, for Linux (x86_64) using EditLine wrapper
-----------

These are the steps I followed:

# mkdir /var/lib/mysql2
# chown -R mysql:mysql /var/lib/mysql2/

# cp /etc/my.cnf /etc/my2.cnf
# vim /etc/my2.cnf

# I added these configurations to my2.cnf:

port=3307
datadir=/var/lib/mysql2
socket=/var/lib/mysql2/mysql.sock
log-error=/var/log/mysqld2.log
pid-file=/var/run/mysqld/mysqld2.pid
----------

* Finally we need to initialize the default dbs:

# mysql_install_db --user=mysql --datadir=/var/lib/mysql2/


* now we need to start our new mysql instance:

# mysqld_safe --defaults-file=/etc/my2.cnf &

off course, since red hat does not have the command mysqld_safe, I used mysqld instead as follows:

# sudo mysqld --defaults-file=/etc/my2.cnf

but I got this Error:

###########################

2019-08-06T12:30:33.186698Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2019-08-06T12:30:33.188932Z 0 [Note] mysqld (mysqld 5.7.25) starting as process 3017 ...
2019-08-06T12:30:33.190869Z 0 [ERROR] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!

2019-08-06T12:30:33.190906Z 0 [ERROR] Aborting

2019-08-06T12:30:33.190932Z 0 [Note] Binlog end
2019-08-06T12:30:33.191009Z 0 [Note] mysqld: Shutdown complete


###########################


please, your support regarding this matter

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.lock' (2 "No such file or directory") (no replies)

$
0
0
Hi all,

I have a CentOS 7 installation with MariaDB but it was instable so I upgraded to MariaDB v10.

After the reinstall of MariaDB I can't connect with the mysql server using localhost, only 127.0.0.1 is working.

I get the error:
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.lock' (2 "No such file or directory")

I checked the /var/lib/mysql directory and there is no mysql.lock.
Permisions on the folder are on user mysql and group mysql.
Why is localhost not working as hostname for connection?

max_allowed_packet value causes starting forever (1 reply)

$
0
0
Hi all,

I am trying to get mySQL to run when max_allowed_packet=30M within the my.ini file.

With default of 4M the server starts fine.

When set to 30M which is the requirement for software that I am testing with, it just stays in starting state within Windows Services.

I can't ever seem to find out what could be causing this behaviour, no forums seem to have much detail about it.

It is in the documentation for the product I am testing to set max_allowed_packet to 30M, so I am quite sure it can work.

I have tried a 16Gb and 32Gb Windows 2016 and 2012R2 machine and they all get stuck on starting.

If 30M = megabytes, it isn't a lot of storage so not sure why 4M works and 30M causes issues.

Anyone that can fill me in, much appreciated.

Thanks,
Dan.

Cannot install mysql-server 5.7 on Lubuntu 19.04 (no replies)

$
0
0
I recently installed Lubuntu 19.04 on my primary machine (after nearly a decade of using various iterations of Kubuntu), and have been unable to install MySQL server. I tried, first, using the tasksel utility to install the whole LAMP stack, but it failed in the process of attempting to install MySQL. I then tried installing just MySQL using apt-get, but got the same failure message, even after issuing the command

apt purge mysql-server mysql-server-5.7

The error message has consistently been:
ERROR: Unable to start MySQL server:
mysqld: Can't read dir of '/etc/mysql/conf.d' (Error: 2 - No such file or directory)
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!

Looking at the /etc/mysql subdirectory, I find a file named mysql.conf.d, but none named simply conf.d. And when I tried re-naming the mysql.conf.d file to conf.d, I got another error message complaining of the absence of the mysql.conf.d file.

It appears that both files are needed, but the installer is creating only the one. What am I missing?

Upgrading from 8.0.16 to 8.0.17 (1 reply)

$
0
0
I am fairly new to mySQL. I have a MYSQL Server 8.0.16 running on Windows Server 2016 (non-Core).

8.0.16 has been running fine,but our security scan has found this version to be severely unsecure.

I made a VM snapshot of the server and ran the MYSQL Installer which found the 8.0.17 available. I updated the MYSQL server to 8.0.17 and no longer had DB connection. The installer asked me to run the configuration wizard. I did not go any further and reverted back to the snapshot for now.

Is there something I missed? I would hate to have to deal with this on every new version .18, .19, etc..

Thank you.

mysqld --validate-config unknown variable! (no replies)

$
0
0
When executing: mysqld --validate-config
We get the error:
2019-09-05T09:35:55.101983Z 0 [ERROR] [MY-000067] [Server] unknown variable 'validate_password.dictionary_file=/var/lib/mysql/data/mysql.validation.dictionary.txt'.

Is this a know issue due to new features?

/etc/my.cnf:
[mysqld]
# Password validation dictionary file
validate_password.dictionary_file=/var/lib/mysql/data/mysql.validation.dictionary.txt
validate_password.policy=2

MySQL version:
Ver 8.0.17 for Linux on x86_64 (MySQL Community Server - GPL)

Trying to install MySQL on Ubuntu 18.04 (2 replies)

$
0
0
I have Ubuntu 18.04 x64 and am trying to install MySQL 5.7. I started this yesterday, but something is wrong, and I have no idea. After an initial install of mysql-server and mysql-workbench, I tried to start mysql-server. It would not start although I tried several approaches based on some searches. Then I decided to remove both. I did this with the commands:

sudo apt remove mysql-server and
sudo apt remove mysql-workbench

I thought things were okay, so I reinstalled mysql-server. When I tried to start the server, I got the following:

sudo systemctl start mysql
Job for mysql.service failed because the control process exited with error code.
See "systemctl status mysql.service" and "journalctl -xe" for details.

So I ran the first command

sudo systemctl status mysql.service
● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
Active: activating (start) since Mon 2019-09-09 23:26:53 EDT; 57s ago
Process: 15601 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
Main PID: 3070 (code=exited, status=0/SUCCESS); Control PID: 15610 (mysqld)
Tasks: 14 (limit: 4915)
CGroup: /system.slice/mysql.service
├─15610 /usr/sbin/mysqld --daemonize --pid-file=/run/mysqld/mysqld.pid
└─15612 /usr/sbin/mysqld --daemonize --pid-So
file=/run/mysqld/mysqld.pid

Then I ran the second command

sudo journalctl -xe
--
-- Unit mysql.service has finished shutting down.Cod
Sep 09 23:26:53 cp1 systemd[1]: Starting MySQL Community Server...
-- Subject: Unit mysql.service has begun start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit mysql.service has begun starting up.
Sep 09 23:26:53 cp1 audit[15608]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=15608 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Sep 09 23:26:53 cp1 kernel: audit: type=1400 audit(1568086013.571:502): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=15608 comm="mysqld" requested_mask="r" d
Sep 09 23:26:53 cp1 audit[15610]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=15610 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Sep 09 23:26:53 cp1 kernel: audit: type=1400 audit(1568086013.595:503): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=15610 comm="mysqld" requested_mask="r" d
Sep 09 23:27:51 cp1 sudo[15627]: butch : TTY=pts/1 ; PWD=/usr/share/mysql-workbench/images ; USER=root ; COMMAND=/bin/systemctl status mysql.service
Sep 09 23:27:51 cp1 sudo[15627]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 09 23:27:51 cp1 sudo[15627]: pam_unix(sudo:session): session closed for user root
Sep 09 23:28:34 cp1 mysqld[15610]: Initialization of mysqld failed: 0
Sep 09 23:28:34 cp1 systemd[1]: mysql.service: Control process exited, code=exited status=1
Sep 09 23:28:34 cp1 systemd[1]: mysql.service: Failed with result 'exit-code'.
Sep 09 23:28:34 cp1 systemd[1]: Failed to start MySQL Community Server.
-- Subject: Unit mysql.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit mysql.service has failed.
--
-- The result is RESULT.
Sep 09 23:28:34 cp1 systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Sep 09 23:28:34 cp1 systemd[1]: mysql.service: Scheduled restart job, restart counter is at 5.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Automatic restarting of the unit mysql.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Sep 09 23:28:34 cp1 systemd[1]: Stopped MySQL Community Server.
-- Subject: Unit mysql.service has finished shutting down
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit mysql.service has finished shutting down.
Sep 09 23:28:34 cp1 systemd[1]: Starting MySQL Community Server...
-- Subject: Unit mysql.service has begun start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit mysql.service has begun starting up.
Sep 09 23:28:34 cp1 audit[15639]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=15639 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Sep 09 23:28:34 cp1 kernel: audit: type=1400 audit(1568086114.571:504): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=15639 comm="mysqld" requested_mask="r" d
Sep 09 23:28:34 cp1 audit[15641]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=15641 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Sep 09 23:28:34 cp1 kernel: audit: type=1400 audit(1568086114.595:505): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=15641 comm="mysqld" requested_mask="r" d
Sep 09 23:29:11 cp1 sudo[15657]: butch : TTY=pts/1 ; PWD=/usr/share/mysql-workbench/images ; USER=root ; COMMAND=/bin/journalctl -xe
Sep 09 23:29:11 cp1 sudo[15657]: pam_unix(sudo:session): session opened for user root by (uid=0)

Somewhere along the way, I received a message that mysql-server was partially installed, so I issued the following command:

sudo apt install -f mysql-server

Then I tried to install mysql-workbench and got the following

sudo apt install mysql-workbench
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
gdal-data libarmadillo8 libarpack2 libctemplate3 libdap25 libdapclient6v5 libepsilon1 libfreexl1 libfyba0 libgdal20 libgeos-3.6.2 libgeos-c1v5 libgeotiff2 libhdf4-0-alt libkmlbase1 libkmldom1 libkmlengine1
libnetcdf13 libodbc1 libogdi3.2 libpcrecpp0v5 libproj12 libqhull7 libspatialite7 libsuperlu5 libtinyxml2.6.2v5 liburiparser1 libvsqlitepp3v5 libxerces-c3.2 mysql-utilities mysql-workbench-data odbcinst
odbcinst1debian2 proj-bin proj-data python-mysql.connector python-paramiko python-pexpect python-ptyprocess python-pyasn1 python-pyodbc python-pysqlite2
Suggested packages:
geotiff-bin gdal-bin libgeotiff-epsg libhdf4-doc libhdf4-alt-dev hdf4-tools libmyodbc odbc-postgresql tdsodbc unixodbc-bin ogdi-bin python-gssapi python-pexpect-doc python-pysqlite2-doc python-pysqlite2-dbg
The following NEW packages will be installed:
gdal-data libarmadillo8 libarpack2 libctemplate3 libdap25 libdapclient6v5 libepsilon1 libfreexl1 libfyba0 libgdal20 libgeos-3.6.2 libgeos-c1v5 libgeotiff2 libhdf4-0-alt libkmlbase1 libkmldom1 libkmlengine1
libnetcdf13 libodbc1 libogdi3.2 libpcrecpp0v5 libproj12 libqhull7 libspatialite7 libsuperlu5 libtinyxml2.6.2v5 liburiparser1 libvsqlitepp3v5 libxerces-c3.2 mysql-utilities mysql-workbench
mysql-workbench-data odbcinst odbcinst1debian2 proj-bin proj-data python-mysql.connector python-paramiko python-pexpect python-ptyprocess python-pyasn1 python-pyodbc python-pysqlite2
0 upgraded, 43 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/25.9 MB of archives.
After this operation, 159 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
.
. lots of libraries
.
Setting up mysql-server-5.7 (5.7.27-0ubuntu0.18.04.1) ...
/var/lib/mysql/ibdata1: 3401
ERROR: Database files are locked. Daemon already running?
Warning: Unable to start the server. Please restart MySQL and run mysql_upgrade to ensure the database is ready for use.
/var/lib/mysql/ibdata1: 3401
ERROR: Database files are locked. Daemon already running?
Warning: Unable to start the server.
Job for mysql.service failed because the control process exited with error code.
See "systemctl status mysql.service" and "journalctl -xe" for details.
invoke-rc.d: initscript mysql, action "start" failed.
● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Mon 2019-09-09 23:38:41 EDT; 9ms ago
Process: 16386 ExecStart=/usr/sbin/mysqld --daemonize --pid-file=/run/mysqld/mysqld.pid (code=exited, status=1/FAILURE)
Process: 16377 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
Main PID: 3070 (code=exited, status=0/SUCCESS)
dpkg: error processing package mysql-server-5.7 (--configure):
installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1
Setting up libhdf4-0-alt (4.2.13-2) ...
Setting up python-mysql.connector (2.1.6-1) ...
Setting up mysql-workbench-data (6.3.8+dfsg-1build3) ...
Setting up libxerces-c3.2:amd64 (3.2.0+debian-2) ...
Setting up liburiparser1:amd64 (0.8.4-1) ...
Setting up proj-data (4.9.3-2) ...
Setting up python-pyodbc (4.0.17-1) ...
Setting up libproj12:amd64 (4.9.3-2) ...
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.7; however:
Package mysql-server-5.7 is not configured yet.

dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Setting up python-pexpect (4.2.1-1) ...
Setting up libkmlbase1:amd64 (1.3.0-5) ...
Setting up libarmadillo8 (1:8.400.0+dfsg-2) ...
Setting up libogdi3.2 (3.2.0+ds-2) ...
Setting up mysql-utilities (1.6.4-1) ...
Setting up proj-bin (4.9.3-2) ...
Setting up libgeotiff2:amd64 (1.4.2-2build1) ...
Setting up libspatialite7:amd64 (4.3.0a-5build1) ...
Setting up libkmldom1:amd64 (1.3.0-5) ...
Setting up libkmlengine1:amd64 (1.3.0-5) ...
Setting up odbcinst1debian2:amd64 (2.3.4-1.1ubuntu3) ...
Setting up odbcinst (2.3.4-1.1ubuntu3) ...
Setting up libgdal20 (2.2.3+dfsg-2) ...
Setting up mysql-workbench (6.3.8+dfsg-1build3) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for shared-mime-info (1.9-2) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Errors were encountered while processing:
mysql-server-5.7
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

So I checked the logs. From MySQL log, I get this message over and over

2019-09-10T15:08:45.295044Z 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2019-09-10T15:08:45.295094Z 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.

I used System monitor to see if there were any mysql processes, and I never found any that I could identify. At the end I have these:

2019-09-10T04:08:58.804749Z 0 [ERROR] InnoDB: Operating system error number 11 in a file operation.
2019-09-10T04:08:58.804765Z 0 [ERROR] InnoDB: Error number 11 means 'Resource temporarily unavailable'
2019-09-10T04:08:58.804775Z 0 [Note] InnoDB: Some operating system error numbers are described at http://dev.mysql.com/doc/refman/5.7/en/operating-system-error-codes.html
2019-09-10T04:08:58.804785Z 0 [ERROR] InnoDB: Cannot open datafile './ibdata1'
2019-09-10T04:08:58.804813Z 0 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
2019-09-10T04:08:58.804825Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Cannot open a file
2019-09-10T04:08:59.405286Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2019-09-10T04:08:59.405329Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2019-09-10T04:08:59.405342Z 0 [ERROR] Failed to initialize builtin plugins.
2019-09-10T04:08:59.405349Z 0 [ERROR] Aborting

2019-09-10T04:08:59.405376Z 0 [Note] Binlog end
2019-09-10T04:08:59.405432Z 0 [Note] Shutting down plugin 'CSV'
2019-09-10T04:08:59.405924Z 0 [Note] /usr/sbin/mysqld: Shutdown complete

I have no idea why /ibdata1 is unavailable. The my.cnf is what came with the system. I have not gotten to the point that I could modify it.

From the system log I have this:

Sep 10 11:15:43 cp1 systemd[1]: Starting MySQL Community Server...
Sep 10 11:15:43 cp1 kernel: [65430.041413] audit: type=1400 audit(1568128543.571:1347): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=29388 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Sep 10 11:15:43 cp1 kernel: [65430.063902] audit: type=1400 audit(1568128543.591:1348): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=29390 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Sep 10 11:17:01 cp1 CRON[29408]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Sep 10 11:17:24 cp1 mysqld[29390]: Initialization of mysqld failed: 0
Sep 10 11:17:24 cp1 systemd[1]: mysql.service: Control process exited, code=exited status=1
Sep 10 11:17:24 cp1 systemd[1]: mysql.service: Failed with result 'exit-code'.
Sep 10 11:17:24 cp1 systemd[1]: Failed to start MySQL Community Server.
Sep 10 11:17:24 cp1 systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Sep 10 11:17:24 cp1 systemd[1]: mysql.service: Scheduled restart job, restart counter is at 416.
Sep 10 11:17:24 cp1 systemd[1]: Stopped MySQL Community Server.
Sep 10 11:17:24 cp1 systemd[1]: Starting MySQL Community Server...
Sep 10 11:17:24 cp1 kernel: [65531.040576] audit: type=1400 audit(1568128644.572:1349): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=29421 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Sep 10 11:17:24 cp1 kernel: [65531.066129] audit: type=1400 audit(1568128644.596:1350): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=29423 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0

So something has gone badly wong, and I am lost as to how to proceed.

How do I salvage old settings with new install of MySQL (no replies)

$
0
0
I had a crash and needed to restore my Ubuntu 18.04 x64 system. During the install there was a power surge. I restarted the restore, but did not have a boot record on the system drive after the restore finished. After nothing seemed to work getting a boot record installed, I decided to reinstall my OS from a Live CD, reinstall all my programs, and copy over configuration files where needed to get my system back as it should be. This has worked fine for everything except MySQL. All the necessary files are on my backup drive, but I'm not sure how to go about replacing files in MySQL. I would appreciate any suggestions on how to best accomplish this. Thanks.

Unable to Install MySQL Server 8.0.17 with Error “The action ‘Install’ for product ‘MySQL Server 8.0.17’ failed” (no replies)

$
0
0
Hello there

I am unable to install MySQL Server on a Windows 10 PC. I have downloaded the installer mysql-installer-community-8.0.16.0.msi from https://dev.mysql.com/downloads/file/?id=486089, which I am running as an administrator.

I already have a number of products installed (Workbench, Shell, Router and some connectors). I click on “Add”, then select “MySQL Server 8.0.17 – X64” with the default options.

The installation fails. The log is quite long, and doesn’t contain any errors other than the final line. I have attached the last few lines below:

1: Action 10:25:24: ExecSecureObjects.
1: Action 10:25:25: Rollback. Rolling back action:
1: ExecSecureObjects
1: Writing system registry values
1: Creating shortcuts
1: Copying new files
1: Creating folders
1: Updating component registration
1: 1: MySQL Server 8.0 2: {827F2F48-CCB9-4018-9AA3-0CA9FA3223E1} 3: 3
1: The action 'Install' for product 'MySQL Server 8.0.17' failed.

Any help greatly appreciated, including where I can look to find details of what the error actually is.

Regards

Geoff Olding

Install offline (no replies)

$
0
0
I am teaching a database course, and would like students to install MySQL. Rather than download multiple copies over the Internet, it seems more efficient if I could download one copy and distribute it to students.z

Having students download it on their own runs the risk that something goes wrong and they have no help.

Having everyone download during class runs the risk of saturating the network and preventing anyone from completing an install.

Any suggestions/recommendations?

Thanks,
Jonathon Doran

Default installed engines (no replies)

$
0
0
Hi There,

Does anyone know which engines are installed by default when installing a MySQL instance without giving any options?

Regards,

Harry Splinter

broken mysql server installation / root certificate issue (2 replies)

$
0
0
Hi,

I installed a mysql server couple of days ago. I was able to access the server via mysql workbench. However I somehow cleared the information regarding the root password of the server and going forward I wasn't able to connect anymore because I just can't remember what I have choosen.

Instead of resetting the root password for which I found several steps to do so meanwhile I just uninstalled the mysql server and launched the windows wizzard once again. However during the installation wizard it is asking me again for the root certificate.

And now I'm not able to follow the reset steps because I don't even have a running mysql server.

What can I do? Any help appreciated.

installing Mysql 8 on CentOS 7.6 dependencie error (1 reply)

$
0
0
When I use the yum repositories to install either versions 8 or 5.7, I get this:
Error: Package: mysql-community-server-5.7.28-1.el6.x86_64 (mysql57-community)
Requires: libsasl2.so.2()(64bit)

Here are the libraries installed on CentOS 7.6.1810:
/usr/lib64/libsasl2.so.3
/usr/lib64/libsasl2.so.3.0.0

I have tried ln -s /usr/lib64/libsasl2.so.3 libsasl2.so.2 , but that does not resolve the dependence, I still get the same error.

I've looked for libsasl2.so.2()(64bit) for Centos 7.6 without success.

Any guidance would be appreciated.

Upgrade MySQL 5.6 to 5.7 in CentOS 6.7 via yum (1 reply)

$
0
0
Hi.

I'm trying to upgrade MySQL 5.6 to 5.7 in CentOS 6.7 via yum update.

After installing the most recent repos and running a "yum update mysql" I'm always getting the following missing requirements.

Error: Package: mysql-community-server-5.7.28-1.el7.x86_64 (mysql57-community)
Requires: systemd
Error: Package: mysql-community-client-5.7.28-1.el7.x86_64 (mysql57-community)
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
Error: Package: mysql-community-server-5.7.28-1.el7.x86_64 (mysql57-community)
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
Error: Package: mysql-community-server-5.7.28-1.el7.x86_64 (mysql57-community)
Requires: libsasl2.so.3()(64bit)


The missing libs are troublesome, but the systemd requirement in a CentOS 6 doesn't make much sense right?
Is there any way of upgrading from 5.6 to 5.7 in a CentOS 6.7 system or is this path closed?

Regards,
NV.

Partial Trusted Caller Support Question (no replies)

$
0
0
Hi,

Could anyone tell me if the Connector/NET dlls support partial trusted callers as downloaded or must a [assembly:AllowPartiallyTrustedCallers] be added to the source code?

Many thanks,
Lou

Help with adding mysql monitor to systemd (no replies)

$
0
0
Hello, I am trying to add mysql enterprise monitor (MEM) to systemd startup on a Redhat 7.4 install. I am confused about what is required in the systemd unit file for MEM and have not found any examples or documentation online.

Anyone have any suggestions?

Thank you

how to install mysql community version on rhel 8 (1 reply)

$
0
0
Hi,

I just want to know how to install mysql community version on rhel 8

Could not load activation string from database. (no replies)

$
0
0
I am having an issue getting mysql 8.0 to connect to a ticketing system I am setting up, Smartrack. I am receiving the following error when I try to connect the system to mysql. "could not load activation string from database. Bad connection string.". I was not sure if this may be a configuration issue with mysql or possibly an issue with my smartertrack system. Thank you for any help that you can provide.
Viewing all 7244 articles
Browse latest View live


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