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

MyNoSQL (no replies)

$
0
0
Hello,
Is it true that the NOSQL version of Mysql exists?
If yes, where do you download?
And how do you do the joint in nosql and all the other things that the nosql don't have respect to the SQL?

problems upgrading 5.7 -> 8.0.15 (no 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? (no replies)

$
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 (no 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? (no replies)

can't reset MySQL root password (1 reply)

$
0
0
I (thought I) have set a password for the root mysql user (to "password") on a Linux Mint localhost.

However, @ localhost/phpmyadmin, when I log in as root with that password, I receive the error:

#1698 - Access denied for user 'root'@'localhost'

If I run the command mysqld_safe --skip-grant-tables --skip-networking & I receive the error:

insight@insight-virtual-machine:~$ 2019-04-10T01:26:45.441033Z mysqld_safe Logging to syslog.
2019-04-10T01:26:45.444959Z mysqld_safe Logging to '/var/log/mysql/error.log'.
/usr/bin/mysqld_safe: 152: /usr/bin/mysqld_safe: cannot create /var/log/mysql/error.log: Permission denied
2019-04-10T01:26:45.448902Z mysqld_safe Directory '/var/run/mysqld' for UNIX socket file don't exists.
/usr/bin/mysqld_safe: 152: /usr/bin/mysqld_safe: cannot create /var/log/mysql/error.log: Permission denied
^C
[1]+ Exit 1 mysqld_safe --skip-grant-tables --skip-networking

I've run the command sudo chown -R mysql:mysql /var/log/mysql okay.

If I run the command mysqld_safe --skip-grant-tables & I receive error

insight@insight-virtual-machine:~$ 2019-04-10T01:37:13.592566Z mysqld_safe Logging to syslog.
/usr/bin/mysqld_safe: 647: /usr/bin/mysqld_safe: cannot create /var/log/mysql/error.log: Permission denied
Logging to '/var/log/mysql/error.log'.
2019-04-10T01:37:13.596242Z mysqld_safe Directory '/var/run/mysqld' for UNIX socket file don't exists.
/usr/bin/mysqld_safe: 152: /usr/bin/mysqld_safe: cannot create /var/log/mysql/error

Help appreciated.

Suse Linux 15 & MySQL 5.6 (2 replies)

$
0
0
Hi,

Is MySQL 5.6 compatible with Suse Enterprise Linux 15?

using mysql-connector-python-py3 with django? (no replies)

$
0
0
I want to test developing with Django and MySQL for a private project. I try install mysql connection for python 3.

Is the package be mysql-connector-python-py3?

OS version: Ubnutu 18.04
MySQL version : 8.0.15 Community Server -GPL

pip3 list

Package Version
------------- -------
Django 2.2
pip 19.0.3
pkg-resources 0.0.0
pytz 2019.1
setuptools 41.0.0
sqlparse 0.3.0
wheel 0.33.1


I try run pip3 install mysql-connector-python-py3, I get error

Could not find a version that satisfies the requirement mysql-connector-python-py3 (from versions: )
No matching distribution found for mysql-connector-python-py3

what is the correct step for setup mysql connector for Django?

Problems upgrading from 8.0.15 to 8.0.16 (no replies)

$
0
0
My server decided to do an auto update from 8.0.15 to 8.0.16 last night and failed.

The error output is below:

2019-04-24T23:01:16.031665Z 1 [System] [MY-011090] [Server] Data dictionary upgrading from version '80014' to '80016'.
2019-04-24T23:01:16.452964Z 1 [System] [MY-013413] [Server] Data dictionary upgrade from version '80014' to '80016' completed.
mysqld: Table 'information_schema.TABLES' doesn't exist
mysqld: Table 'information_schema.ROUTINES' doesn't exist
mysqld: Table 'information_schema.TABLES' doesn't exist
mysqld: Table 'information_schema.TABLES' doesn't exist
mysqld: Table 'information_schema.TRIGGERS' doesn't exist
mysqld: Table 'performance_schema.threads' doesn't exist
mysqld: Table 'performance_schema.threads' doesn't exist
mysqld: Table 'performance_schema.global_variables' doesn't exist
2019-04-24T23:01:19.751312Z 4 [System] [MY-013381] [Server] Server upgrade from '80015' to '80016' started.
2019-04-24T23:01:19.770517Z 4 [ERROR] [MY-010725] [Server] Couldn't repair table: mysql.general_log
2019-04-24T23:01:19.770538Z 4 [ERROR] [MY-013178] [Server] Execution of server-side SQL statement 'CREATE TABLE IF NOT EXISTS general_log (event_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6), user_host MEDIUMTEXT NOT NULL, thread_id BIGINT(21) UNSIGNED NOT NULL, server_id INTEGER UNSIGNED NOT NULL, command_type VARCHAR(64) NOT NULL, argument MEDIUMBLOB NOT NULL) engine=CSV CHARACTER SET utf8 comment="General log";
' failed with error code = 1034, error message = 'Incorrect key file for table 'general_log'; try to repair it'.
2019-04-24T23:01:19.771969Z 0 [ERROR] [MY-013380] [Server] Failed to upgrade server.
2019-04-24T23:01:19.772156Z 0 [ERROR] [MY-010119] [Server] Aborting
2019-04-24T23:01:22.385908Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.16) MySQL Community Server - GPL.

MYSQL will run in debug mode and reports that it is running 8.1.16 but when run in normal mode it repeats the above output and fails.

Bye Bye to mysql_upgrade, change to skip_grant_tables, and One Year of MySQL 8.0 GA (no replies)

8.0.15 to 8.0.16 upgrade fails due to permissions on Ubuntu (2 replies)

$
0
0
Hi

Where do we report the bug issues found in mysql platform specific binary packages? Can someone point me in the right direction? Here is the issue we had after updating to 8.0.16 on Ubuntu


Environment is Ubuntu 16.04 LTS
This machine first installed 8.0.11
Current upgrade was 8.0.15 -> 8.0.16
The update was done through aptitude

The mysql server refused to start after the upgrade. There were 2 issues. The mysql/mysql_upgrade_info file still had 8.0.15 as entry after the update.


Apr 25 09:08:09 yuktix-apiv11devm1 systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Apr 25 09:08:09 yuktix-apiv11devm1 systemd[1]: Failed to start MySQL Community Server


error.log had

[Server] Could not create server upgrade info file at '/var/lib/mysql/'.
2019-04-25T09:08:08.106750Z 0 [ERROR] [MY-013380] [Server] Failed to upgrade server.

so it looked like a permission issue with /var/lib/mysql. Looks like the upgrade was not able to write to that file because the ownership was with root. A sudo chown mysql on mysql_upgrade_info fixed that issue.



After that another issues was missing /var/run/mysqld files.

$sudo /usr/sbin/mysqld-debug --user=mysql --log-error-verbosity=3

Server hostname (bind-address): '*'; port: 3306
IPv6 is available.
- '::' resolves to '::';
Server socket created on IP: '::'.
Could not create unix socket lock file /var/run/mysqld/mysqld.sock.lock.
Unable to setup unix socket lock file.
Aborting


creating the directory manually fixed that issue. off-topic but 8.0.x updates have been one heck of bumpy rides so far.

[macOS mojave] locked out from mysql (1 reply)

$
0
0
Hello,
I'm currently locked out from mysql cli.
I installed mysql using brew cli.
Then I tried to set the root password
`UPDATE mysql.user SET authentication_string='root' WHERE User='root';`

but I forgot to flush privileges

now when I try the command: `mysql -uroot` I get
`ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)`

and I try `mysql -uroot -proot` I get
`ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)`

Since it is a fresh installation, there is a way I can wipe up the whole user db and reinit again?

MySQL 8.0.13 systemctl start throws error 13 (no replies)

$
0
0
Sorry for the long post, but I wanted to get all the necessary information.

When I do a sudo systemctl start mysqld.service it generates and error 13 in the error log.

/var/log/mysqld.log
mysqld: File './binlog.index' not found (OS errno 13 - Permission denied)
2019-05-06T22:50:26.608886Z 0 [Warning] [MY-010091] [Server] Can't create test file /data/mysql/hsvsmimedev.lower-test
2019-05-06T22:50:26.608972Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.16) starting as process 17347
2019-05-06T22:50:26.612524Z 0 [Warning] [MY-010091] [Server] Can't create test file /data/mysql/hsvsmimedev.lower-test
2019-05-06T22:50:26.612543Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for /data/mysql/ is case insensitive
2019-05-06T22:50:26.613641Z 0 [ERROR] [MY-010119] [Server] Aborting
2019-05-06T22:50:26.613908Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.16) MySQL Community Server - GPL.

Here's the /etc/my.cnf - bare bones:
[mysqld]
user=mysql

datadir=/data/mysql
#datadir=/var/lib/mysql
socket=/data/mysql/mysql.sock
#socket=/var/lib/mysql/mysql.sock

log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

The /data/MySQL has correct permissions:
drwxr-x---. 6 mysql mysql 4096 May 6 10:33 MySQL

It did start/stop at first with the default /var/lib/MySQL datadir, I modified datadir and it began failing. Restoring the datadir to /var/lib/MySQL didn't work. Since 8.0 seems to auto-init I deleted the datadir contents on each start attempt.

Looking at the log and running journalctl -xe it looks like the service starts as MySQL, creates the databases, then tries to run as mysqld (hence permission denied).

Server's running Red Hat Enterprise 7.

Thanks

Mysql Server error on install for all versions. WIndows 10 (no replies)

$
0
0
Hi all,

i'm in the process of upgrading to a new laptop and just cannot seem to install ANY mysql server versions. All installations end at a similar place with similar errors. I have installed all latest Visual C++ Redistributable Package is already installed.

I've even gone down the path of uninstalling my Visual Studio products trying to get any of these mysql Servers to install. Any help would appreciated.

Event log
Windows Installer installed the product. Product Name: MySQL Server 8.0. Product Version: 8.0.16. Product Language: 1033. Manufacturer: Oracle Corporation. Installation success or error status: 1603.

Install log (last few lines)
1: Action 14:36:01: CreateShortcuts. Creating shortcuts
1: Shortcut: icon.ico
1: Shortcut: Icon.MysqlCmdShell
1: Shortcut: rpxm3ds_|MySQL 8.0 Command Line Client
1: Shortcut: 7ejegqmo|MySQL 8.0 Command Line Client - Unicode
1: Action 14:36:01: WriteRegistryValues. Writing system registry values
1: Key: \SOFTWARE\MySQL AB\MySQL Server 8.0, Name: Location, Value: C:\Program Files\MySQL\MySQL Server 8.0\
1: Key: \SOFTWARE\MySQL AB\MySQL Server 8.0, Name: Version, Value: 8.0.16
1: Key: \SOFTWARE\MySQL AB\MySQL Server 8.0, Name: DataLocation, Value: C:\ProgramData\MySQL\MySQL Server 8.0\
1: Key: \SOFTWARE\MySQL AB\MySQL Server 8.0, Name: , Value:
1: Key: \Console\MySQL 8.0 Command Line Client - Unicode, Name: FaceName, Value: Lucida Console
1: Key: \Console\MySQL 8.0 Command Line Client - Unicode, Name: FontWeight, Value: #400
1: Key: \Console\MySQL 8.0 Command Line Client - Unicode, Name: , Value:
1: Key: \Software\MySQL AB\MySQL Server 8.0, Name: installed, Value: #1
1: Action 14:36:01: ExecSecureObjects.
1: Action 14:36:01: 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: {87210B05-B03F-4F6D-A217-D20F19746EAC} 3: 3
1: The action 'Install' for product 'MySQL Server 8.0.16' failed.

Downgrade from 8.0.16 to 8.0.14 (no replies)

$
0
0
I've been running 8.0.14 and everything was fine. When I upgraded to 8.0.16 I started to experience a serious memory leak in mysql-server and my production servers are about to crash. I need to downgrade 8.0.14 ASAP, but I cannot find any documentation anywhere how to do so. Can anyone help me to install 8.0.14 again?

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?

8.0.16-2debian9 ? (no replies)

$
0
0
I can't find any information of what changes are included here from 8.0.16-1, are there any notes about this change?

MySQL 8.0: Minimal Tarball (no replies)

Viewing all 7243 articles
Browse latest View live


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