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

problems upgrading 5.7 -> 8.0.15 (32 replies)

$
0
0
Hello,

OS is Ubuntu18. I try to upgrade my MySQL 5.7 Servers to 8.0.15, but only a few of them are working.
At first i run upgradecheck:
mysqlcheck -u root -p --all-databases --check-upgrade
For this particular Server output for every table is OK.
After that i download mysql-apt-config to extend repos:
https://dev.mysql.com/downloads/file/?id=482330

Now is time to install:
apt-get install mysql-community-server
First part with uninstalling old server and install the new one looks normal. After that we reach the point where new server ist starting up the very first time. in pstree this looks like that:

mysqld,5385 --user=mysql --daemonize --socket=/tmp/tmp.ZDhxfgvlik/mysqld.sock --pid-file=/tmp/tmp.ZDhxfgvlik/mysqld.pid --skip-networking --skip-grant-tables

At this point no further progress is noticeable. mysqld uses less cpu/ram, but i see no real progress. In errorlog i see something like this:

2019-03-25T11:22:23.642051+01:00 2 [ERROR] [MY-012069] [InnoDB] table: table1 has 25 columns but InnoDB dictionary has 26 columns
2019-03-25T11:22:23.642239+01:00 2 [ERROR] [MY-010767] [Server] Error in fixing SE data for db1.table1
2019-03-25T11:23:22.563370+01:00 2 [ERROR] [MY-012069] [InnoDB] table: table1 has 25 columns but InnoDB dictionary has 26 columns
2019-03-25T11:23:22.563642+01:00 2 [ERROR] [MY-010767] [Server] Error in fixing SE data for db2.table1
2019-03-25T11:23:30.629685+01:00 2 [ERROR] [MY-012069] [InnoDB] table: table1 has 25 columns but InnoDB dictionary has 26 columns
2019-03-25T11:23:30.629703+01:00 2 [ERROR] [MY-010767] [Server] Error in fixing SE data for db3.table1
2019-03-25T11:23:40.310680+01:00 2 [ERROR] [MY-012069] [InnoDB] table: table1 has 25 columns but InnoDB dictionary has 26 columns
2019-03-25T11:23:40.311028+01:00 2 [ERROR] [MY-010767] [Server] Error in fixing SE data for db4.table1
2019-03-25T11:28:09.398738+01:00 0 [ERROR] [MY-010022] [Server] Failed to Populate DD tables.
2019-03-25T11:28:09.399103+01:00 0 [ERROR] [MY-010119] [Server] Aborting

estimated waiting time was ~5min until errors appeared in log. now package installation is broken and ends in error:

2019-03-25T11:28:09.529771+01:00 0 [ERROR] [MY-010946] [Server] Failed to start mysqld daemon. Check mysqld error log.
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: 5419
ERROR: Database files are locked. Daemon already running?
Warning: Unable to start the server.
Removed /etc/systemd/system/mysql.service.
Synchronizing state of mysql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable mysql
[....] Restarting mysql (via systemctl): mysql.serviceJob for mysql.service failed because the control process exited with error code.
See "systemctl status mysql.service" and "journalctl -xe" for details.
failed!


Same behaviour i see on several servers. On the other hand upgrading with small or empty databases works in most attempts.

I dont know how to fix this. I could dump all data and reinstall in fresh installation, but an upgrade should work this way, especially the check-upgrade reported no error.

What to do now?

Thanks,
Hans

Can't get data migrated using MySQL 8 DB Files and Directories on Mac (no replies)

$
0
0
I upgraded to MySQL 8.15 today and after that upgrade none of my databases show up any longer.

I do have database folder backups and I:

1. Copied them to /usr/local/mysql/data
2. Did a CHOWN to change the user to MysQL recursively for each data directory

Still, the databases don't show up when I run mysql.

All I see is:

mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| performance_schema |
| sys |
+--------------------+

So, what is the trick to get the databases into a new version of MySQL so I can use them again? I saw various postings on this problem when I searched, but nothing has worked thus far. I'm still missing something.

MySQL stopped working today for no apparent reason prompting the update thus I only have backup databases themselves (from the data directory).

Thanks very much in advance for any suggestions and help.

-- mike

MYSQL Installation Error (no replies)

$
0
0
While installing MYSQL on MAC OS X 10.10.5

Process: Installer [38127]
Path: /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer
Identifier: com.apple.installer
Version: 6.1.0 (815)
Build Info: Installer-815000000000000~15
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Installer [38127]
User ID: 501
PlugIn Path: /tmp/*/MySQLSetupPlugin.bundle/Contents/MacOS/MySQLSetupPlugin
PlugIn Identifier: com.oracle.oss.mysql.MySQLSetupPlugin
PlugIn Version: 1.0 (1)
Date/Time: 2019-03-25 19:20:41.106 +0530
OS Version: Mac OS X 10.10.5 (14F2511)
Report Version: 11
Anonymous UUID: 3E0A13A2-DF15-E301-2B01-547D69CED15F
Sleep/Wake UUID: 47B29035-6BFF-4A72-AD3C-C52F4DF1AC0A
Time Awake Since Boot: 14000 seconds
Time Since Wake: 1800 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000

Dyld Error Message:
Symbol not found: _objc_unsafeClaimAutoreleasedReturnValue
Referenced from: /tmp/*/MySQLSetupPlugin.bundle/Contents/MacOS/MySQLSetupPlugin (which was built for Mac OS X 10.13)
Expected in: /usr/lib/libobjc.A.dylib

Local server not found? (1 reply)

$
0
0
I have run the installation package 4 times. I am trying to connect to the "local server." Receive message:

Can't connect to MySQL server on '127.0.0.1' (10061) (code 2003)

In "Task Manager" can not find MySQL in "Services" list.

Any ideas?

Authentication plugin choice not display when install 8.0 (3 replies)

$
0
0
I'm using Ubuntu 18.04 64bit to install Mysql 8.0 with following steps:

1. download config file from website and execute sudo dpkg -i mysql-apt-config_0.8.10-1_all.deb
2. choose mysql-8.0 and then click ok
3. sudo apt update
4. sudo apt-get upgrade
5. sudo apt install mysql-server

During step 5, after setting the password twice, 'select default authentication plugin' should display next and ask me to choose 'use Strong password encryption' or 'use legacy authentication method'. But what i got is the message page pop up, the choices part disappeared and i'm not able to highlight anything or event choose 'Ok' to press 'enter'. there is nothing on this page I can choose or even click, I have to close the terminal with no choice. No error message or log I can find during the process.

Please help to suggest what I miss or anything I can do to fix this.

Thanks

Community RPM: why “forking” service? (2 replies)

Update MySQL 5.6 using a ZIP-file (no replies)

$
0
0
Hello.

I update MySQL 5.6 with a ZIP-file.

I do it like this:
1. I stop the server;
2. I make a backup copy of the server files (eg: "C:\Program Files\MySQL\MySQLServer5.6-0");
3. Create an empty folder "C:\Program Files\MySQL\MySQLServer5.6" and dump server files from the archive there (eg: mysql-5.6.43-winx64.zip);
4. I start the server;
5. In the command line I run the update:
5.1. cd C: \ Program Files \ MySQL \ MySQL Server 5.6 \ bin
5.2. mysql_upgrade -u root -p
6. I enter the root password;
7. I observe processing of tables;
8. At the end there is a transition to a new line;
9. I stop the MySQL service, I start it again;
10. Check the MySQL version: mysql -V
11. The final screenshot in the attachment.

Is this a valid update? Am I doing everything right?

how to install mysql community version on rhel 8 (no replies)

$
0
0
Hi,

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

No match for argument: mysql-community-server (no replies)

$
0
0
Hi

I followed to install mysql community server as under:

rpm -ivh https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm
yum repolist all | grep mysql | grep enabled

subsequently, when i run

yum -y install mysql-community-server

i get - No match for argument: mysql-community-server

just want to know how can i install clean and proper mysql community server on rhel8

regards,

T Saravana

Installation on 64 bit Windows (no replies)

$
0
0
Can I install a 32 bit MySQL on 64 bit Windows ?

MySql Terminal Preferences - Change font and background color (1 reply)

$
0
0
Hi,

Just upgraded from Ubuntu 16.04 to 18.04 on a Dell Latitude E6510 Laptop.No Windows.

When I invoke MySql a tiny terminal shows up with a black background and font size that you can barely read. How can I permenently change the background color and font size.

MySQL APT repo for Ubuntu Trusty 14.04 seems broken (no replies)

Silent Install Question (no replies)

$
0
0
Hi,


I want to have MySQL as part of my application setup to be installed silently

But I want to ask a question please


what if the user already has MySQL installed on the same PC?


Can I force installing it in all cases? or it will fail because it's already exists?



Thanks,
Jassim

Re: Problems upgrading from 8.0.16 to 8.0.17 (no replies)

$
0
0
My server decided to do update from 8.0.16 to 8.0.17 and failed.
I just use yum command.

yum update

when I got error message, I added a log-error-verbosity=3 option and I start again.

I think there is no detail error message.
The special line was below 2 line but I think not enough the information. I don't know how to print more detail error message.

2019-07-29T01:13:09.116843Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2019-07-29T01:13:09.117125Z 0 [ERROR] [MY-010119] [Server] Aborting

I guess there is a wrong data or something for updating.
Because when I recover from a month ago backup data, It worked.

The error output is below:

2019-07-29T01:13:02.495493Z 0 [Warning] [MY-010139] [Server] Changed limits: max_open_files: 10000 (requested 50000)
2019-07-29T01:13:02.495505Z 0 [Warning] [MY-010141] [Server] Changed limits: max_connections: 9190 (requested 10000)
2019-07-29T01:13:02.495512Z 0 [Warning] [MY-010142] [Server] Changed limits: table_open_cache: 400 (requested 4000)
2019-07-29T01:13:02.791557Z 0 [Note] [MY-010949] [Server] Basedir set to /usr/.
2019-07-29T01:13:02.791573Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.17) starting as process 8630
2019-07-29T01:13:02.799660Z 0 [Note] [MY-012366] [InnoDB] Using Linux native AIO
2019-07-29T01:13:02.800326Z 0 [Note] [MY-010747] [Server] Plugin 'FEDERATED' is disabled.
2019-07-29T01:13:02.802819Z 1 [Note] [MY-012932] [InnoDB] PUNCH HOLE support available
2019-07-29T01:13:02.802866Z 1 [Note] [MY-012943] [InnoDB] Mutexes and rw_locks use GCC atomic builtins
2019-07-29T01:13:02.802895Z 1 [Note] [MY-012944] [InnoDB] Uses event mutexes
2019-07-29T01:13:02.802917Z 1 [Note] [MY-012945] [InnoDB] GCC builtin __atomic_thread_fence() is used for memory barrier
2019-07-29T01:13:02.802968Z 1 [Note] [MY-012948] [InnoDB] Compressed tables use zlib 1.2.11
2019-07-29T01:13:02.806723Z 1 [Note] [MY-013251] [InnoDB] Number of pools: 1
2019-07-29T01:13:02.806882Z 1 [Note] [MY-012951] [InnoDB] Using CPU crc32 instructions
2019-07-29T01:13:02.807526Z 1 [Note] [MY-012203] [InnoDB] Directories to scan './;./;./'
2019-07-29T01:13:02.807621Z 1 [Note] [MY-012204] [InnoDB] Scanning './'
2019-07-29T01:13:02.912117Z 1 [Note] [MY-012208] [InnoDB] Completed space ID check of 4599 files.
2019-07-29T01:13:02.913984Z 1 [Note] [MY-012955] [InnoDB] Initializing buffer pool, total size = 128.000000M, instances = 1, chunk size =128.000000M
2019-07-29T01:13:02.923228Z 1 [Note] [MY-012957] [InnoDB] Completed initialization of buffer pool
2019-07-29T01:13:02.924847Z 0 [Note] [MY-011952] [InnoDB] If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2019-07-29T01:13:02.987979Z 1 [Note] [MY-013086] [InnoDB] Starting to parse redo log at lsn = 960857088582, whereas checkpoint_lsn = 960857088582
2019-07-29T01:13:02.991443Z 1 [Note] [MY-013083] [InnoDB] Log background threads are being started...
2019-07-29T01:13:02.991742Z 1 [Note] [MY-012532] [InnoDB] Applying a batch of 0 redo log records ...
2019-07-29T01:13:02.991756Z 1 [Note] [MY-012535] [InnoDB] Apply batch completed!
2019-07-29T01:13:02.991883Z 1 [Note] [MY-013252] [InnoDB] Using undo tablespace './undo_001'.
2019-07-29T01:13:02.992042Z 1 [Note] [MY-013252] [InnoDB] Using undo tablespace './undo_002'.
2019-07-29T01:13:02.994618Z 1 [Note] [MY-012910] [InnoDB] Opened 2 existing undo tablespaces.
2019-07-29T01:13:02.994641Z 1 [Note] [MY-011980] [InnoDB] GTID recovery trx_no: 0
2019-07-29T01:13:03.071100Z 1 [Note] [MY-012923] [InnoDB] Creating shared tablespace for temporary tables
2019-07-29T01:13:03.071210Z 1 [Note] [MY-012265] [InnoDB] Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-07-29T01:13:03.108141Z 1 [Note] [MY-012266] [InnoDB] File './ibtmp1' size is now 12 MB.
2019-07-29T01:13:03.108283Z 1 [Note] [MY-011825] [InnoDB] Scanning temp tablespace dir:'./#innodb_temp/'
2019-07-29T01:13:03.159865Z 1 [Note] [MY-013018] [InnoDB] Created 128 and tracked 128 new rollback segment(s) in the temporary tablespace. 128 are now active.
2019-07-29T01:13:03.160301Z 1 [Note] [MY-012976] [InnoDB] 8.0.17 started; log sequence number 960857088582
2019-07-29T01:13:03.167640Z 1 [System] [MY-011090] [Server] Data dictionary upgrading from version '80016' to '80017'.
2019-07-29T01:13:03.168287Z 1 [Note] [MY-013327] [Server] MySQL server upgrading from version '80016' to '80017'.
2019-07-29T01:13:03.332956Z 1 [Note] [MY-012357] [InnoDB] Reading DD tablespace files
2019-07-29T01:13:03.644963Z 1 [Note] [MY-012356] [InnoDB] Validated 4601/4601 tablespaces
2019-07-29T01:13:03.646175Z 0 [Note] [MY-011946] [InnoDB] Loading buffer pool(s) from /box/mysql/ib_buffer_pool
2019-07-29T01:13:06.648746Z 0 [Note] [MY-011946] [InnoDB] Buffer pool(s) load completed at 190729 10:13:06
2019-07-29T01:13:09.116843Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2019-07-29T01:13:09.117125Z 0 [ERROR] [MY-010119] [Server] Aborting
2019-07-29T01:13:09.117487Z 0 [Note] [MY-012330] [InnoDB] FTS optimize thread exiting.
2019-07-29T01:13:09.119663Z 0 [Note] [MY-010120] [Server] Binlog end
2019-07-29T01:13:09.120000Z 0 [Note] [MY-010733] [Server] Shutting down plugin 'MyISAM'
2019-07-29T01:13:09.120018Z 0 [Note] [MY-010733] [Server] Shutting down plugin 'InnoDB'
2019-07-29T01:13:09.120044Z 0 [Note] [MY-013072] [InnoDB] Starting shutdown...
2019-07-29T01:13:09.120196Z 0 [Note] [MY-011944] [InnoDB] Dumping buffer pool(s) to /box/mysql/ib_buffer_pool
2019-07-29T01:13:09.121064Z 0 [Note] [MY-011944] [InnoDB] Buffer pool(s) dump completed at 190729 10:13:09
2019-07-29T01:13:09.650216Z 0 [Note] [MY-013084] [InnoDB] Log background threads are being closed...
2019-07-29T01:13:10.166530Z 0 [Note] [MY-012980] [InnoDB] Shutdown completed; log sequence number 960857088582
2019-07-29T01:13:10.170004Z 0 [Note] [MY-012255] [InnoDB] Removed temporary tablespace data file: "ibtmp1"
2019-07-29T01:13:10.170022Z 0 [Note] [MY-010733] [Server] Shutting down plugin 'CSV'
2019-07-29T01:13:10.170038Z 0 [Note] [MY-010733] [Server] Shutting down plugin 'keyring_file'
2019-07-29T01:13:10.172103Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.17) MySQL Community Server - GPL.

Can't able to initiate/use mysql configuration on Ubuntu 19.04 properly. (no replies)

$
0
0
After installing mysql using "sudo apt install mysql-server", I can't seem to use configure for the use:

pranav@pranav-Inspiron-5548:~$ sudo apt update
[sudo] password for pranav:
Hit:1 http://ubuntu.ntc.net.np/ubuntu disco InRelease
Hit:2 http://ubuntu.ntc.net.np/ubuntu disco-updates InRelease
Hit:3 http://ubuntu.ntc.net.np/ubuntu disco-backports InRelease
Get:4 http://ubuntu.ntc.net.np/ubuntu disco-security InRelease [97.5 kB]
Hit:12 http://repo.mysql.com/apt/ubuntu disco InRelease
Fetched 97.5 kB in 11s (9,133 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.

pranav@pranav-Inspiron-5548:~$ sudo apt install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
mysql-server is already the newest version (8.0.17-1ubuntu19.04).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

pranav@pranav-Inspiron-5548:~$ sudo mysql_secure_installation
Securing the MySQL server deployment.

Enter password for user root:
Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
pranav@pranav-Inspiron-5548:~$

What type of password it is asking for?

Supported Operating Systems? (no replies)

$
0
0
I feel silly for having to ask this, but I have searched for hours, to no avail.

How can find out which are the latest GA verions of MySQL Server & Workbench supported under Windows 7?

On the 'MySQL Product Support EOL Announcements'[1] page it states:

"Per the MySQL Support Lifecycle policy regarding ending support for
OS versions that are obsolete or have reached end of life, we plan to
discontinue building all MySQL binaries for Microsoft Windows 7 as of
June 23, 2016"

But I am unable to find information on which versions DO support Windows 7.

I tried using the installer:
MySQL Installer-Web seems to be the same for versions 5.6.45, 5.7.27 and 8.17.0 and each of these installers offers me the upgrade of my x64 system to 5.7.27 and my x86 system to 5.7.26. I would usually take that at face value, and assume the installer was suggesting the latest GA version for my system BUT it also offers me MySQL Workbench 8.0.17 x64 (the current latest GA), which I know to be INCORRENT because

- it results in an 'You are running an unsupported operating system' message
- 'Supported Platforms: MySQL Workbench'[2] clearly states that current Workbench only supports Windows 10


[1]: https://www.mysql.com/support/eol-notice.html
[2]: https://www.mysql.com/support/supportedplatforms/workbench.html

Get rid of mysql and mariadb so i can start install over again (no replies)

$
0
0
Running Ubuntu Mate 18.04

Messed up install of MariaDb didn't get setting of root pw correct.

Tried to reset root password by using procedure on internet for lost root pw.

Got nowhere except errors.

How can I purge everything so a restart of mariadb and/or mysql will go through the routine to set root password.

I tried using Synaptic to completely uninstall these apps. Doesn't work.

Thanks for help

R

Locked out of new install on v5.7.27 (no replies)

$
0
0
Hi

Apologies, I posted this on the MySQL workbench forum first by accident.

I have a new install of version 5.7.27 and I can't connect to it from MySQL Workbench. Every attempt returns:

----------------
Your connection attempt failed for user 'mdh' to the MySQL server at 127.0.0.1:3306:
Access denied for user 'mdh'@'localhost' (using password: NO)

Please:
1 Check that MySQL is running on address 127.0.0.1
2 Check that MySQL is reachable on port 3306 (note: 3306 is the default, but this can be changed)
3 Check the user mdh has rights to connect to 127.0.0.1 from your address (MySQL rights define what clients can connect to the server and from which machines)
4 Make sure you are both providing a password if needed and using the correct password for 127.0.0.1 connecting from the host address you're connecting from
-----------------

The install is on MacOS, from a dmg and simply double-clicking the package., there were no options during install to set a password or anything like that. I did pretty much the same thing on an old laptop a few months back and had no issues.
This time however I'd accidentally installed version 8 first and then removed it as I need it to be 5.7 compatible. Not sure if that's relevant.
So basically I'm stuck,
Can anyone point me in the right direction. I've no idea where to start, did a few searches on DUckDuckGo and nothing seems to help. When I installed it on my old laptop the password just defaulted to my use password, I think... memory may be failing me.
Cheers

Mark

5.7.27 install doesn’t display the temp password on completion (3 replies)

$
0
0
Hi
I’m having problems installing 5.7.27 on macOS. The install runs without error, but does not display a temporary password on completion as described in the documentation.
I’ve tried uninstalling and reinstalling several times, also tried following the reset root password process in the manual but can’t figure it out as I can’t find the .pid file anywhere.
It’s driving me nuts, any attempt to connect fails.
Any help much appreciated...
Cheers Mark

Configire Router on a standalone enterprise db (no replies)

$
0
0
I am trying to configure a mysql router on my windows webserver . I have installed a standalone mysql Enterprise Edition v8 db on the db server. While configuring the router to work with mysql EE8 db I am getting an error "“Server is not an INNODB Cluster Seed”.

I was told that it is possible to make the router work with a standalone mysql EE db and a innodb cluster is not necessary.

Can someone please confirm if it is possible to configure the router with a standalone mysql EE8 db and without an innodb cluster?

Thanks
Kevin
Viewing all 7244 articles
Browse latest View live


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