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

MySQL (5.6.4) won't start after moving from /var/lib/mysql to /home/mysql (1 reply)

$
0
0
Hello,

running MySQL 5.6.40 on Centos 6.5.

Usual story of /var filling up and wanting to move myqsl to another filesystem.

Heavy research here and and on stackflow gave me a solid process to follow.

(all done sudo' to root)
mysql dump databases
drop databases (except mysql, an _schemas)
shutdown msyql
backup ibdata1, ib_logfile* just in case
copy to new /home: cp -rp /var/lib/mysql /home/mysql
backup current mysql: mv /var/lib/msyql /var/lib/mysql.back
start mysql !FAILs

The error I get in the command window is:

mysqld_safe Directory '/home/mysql' for UNIX socket file don't exists.
MySQL Daemon failed to start.

But it does exist. Here is namei of it under /home and /var:

[root@mail mysql]# namei -l /home/mysql/mysql
f: /home/mysql/mysql
dr-xr-xr-x root root /
drwxr-xr-x root root home
drwxrwxrwx mysql mysql mysql
drwx------ mysql mysql mysql
[root@mail mysql]# namei -l /var/lib/mysql/mysql
f: /var/lib/mysql/mysql
dr-xr-xr-x root root /
drwxr-xr-x root root var
drwxr-xr-x root root lib
drwxr-xr-x mysql mysql mysql
drwx------ mysql mysql mysql

Message log says:
2018-09-03 00:04:31 10371 [Note] /usr/sbin/mysqld: Shutdown complete

2018-09-03 00:04:51 8526 [Note] Plugin 'FEDERATED' is disabled.
2018-09-03 00:04:51 8526 [Note] InnoDB: Using atomics to ref count buffer pool pages
2018-09-03 00:04:51 8526 [Note] InnoDB: The InnoDB memory heap is disabled
2018-09-03 00:04:51 8526 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-09-03 00:04:51 8526 [Note] InnoDB: Memory barrier is not used
2018-09-03 00:04:51 8526 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-09-03 00:04:51 8526 [Note] InnoDB: Using Linux native AIO
2018-09-03 00:04:51 8526 [Note] InnoDB: Using CPU crc32 instructions
2018-09-03 00:04:51 8526 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2018-09-03 00:04:51 8526 [Note] InnoDB: Completed initialization of buffer pool
2018-09-03 00:04:51 8526 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
2018-09-03 00:04:52 8526 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
2018-09-03 00:04:52 8526 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
2018-09-03 00:04:52 8526 [Warning] InnoDB: New log files created, LSN=258142186
2018-09-03 00:04:52 8526 [Note] InnoDB: Highest supported file format is Barracuda.
2018-09-03 00:04:52 8526 [Note] InnoDB: 128 rollback segment(s) are active.
2018-09-03 00:04:52 8526 [Note] InnoDB: Waiting for purge to start
2018-09-03 00:04:53 8526 [Note] InnoDB: 5.6.40 started; log sequence number 258142220
2018-09-03 00:04:53 8526 [Note] Server hostname (bind-address): '*'; port: 3306
2018-09-03 00:04:53 8526 [Note] IPv6 is available.
2018-09-03 00:04:53 8526 [Note] - '::' resolves to '::';
2018-09-03 00:04:53 8526 [Note] Server socket created on IP: '::'.
2018-09-03 00:04:53 8526 [Note] Event Scheduler: Loaded 0 events
2018-09-03 00:04:53 8526 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.6.40' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL)
2018-09-03 00:05:18 8526 [Note] /usr/sbin/mysqld: Normal shutdown

Last statements are strange since I edited my.cnf pointing to new datadir.

my.cnf for the new /home/mysql:

datadir=/home/mysql
socket=/home/mysql/mysql.sock
user=mysql
max_allowed_packet = 256M
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid


my.cnf for /var/lib/mysql:

datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Disabling symbolic-links is recommended to prevent assorted security risks
max_allowed_packet = 256M
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

Any other attempts to free up space included adding to my.cnf
innodb_data_home_dir = /home/mysql
innodb_data_file_path = ibdata1:1000M:autoextend

But that gives the error:
2018-09-06 01:26:01 7492 [Note] InnoDB: Completed initialization of buffer pool
2018-09-06 01:26:01 7492 [ERROR] InnoDB: .\ibdata1 can't be opened in read-write mode
2018-09-06 01:57:01 7492 [ERROR] InnoDB: The system tablespace must be writable!

from mysqld.log
2018-09-06 01:26:55 18981 [Note] Plugin 'FEDERATED' is disabled.
2018-09-06 01:26:55 18981 [Note] InnoDB: Using atomics to ref count buffer pool pages
2018-09-06 01:26:55 18981 [Note] InnoDB: The InnoDB memory heap is disabled
2018-09-06 01:26:55 18981 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-09-06 01:26:55 18981 [Note] InnoDB: Memory barrier is not used
2018-09-06 01:26:55 18981 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-09-06 01:26:55 18981 [Note] InnoDB: Using Linux native AIO
2018-09-06 01:26:55 18981 [Note] InnoDB: Using CPU crc32 instructions
2018-09-06 01:26:55 18981 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2018-09-06 01:26:55 18981 [Note] InnoDB: Completed initialization of buffer pool
2018-09-06 01:26:55 7feefd319720 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
2018-09-06 01:26:55 18981 [ERROR] InnoDB: os_file_get_status() failed on '/home/mysql/ibdata1'. Can't determine file permissions
2018-09-06 01:26:55 18981 [ERROR] InnoDB: The system tablespace must be writable!
2018-09-06 01:26:55 18981 [ERROR] Plugin 'InnoDB' init function returned error.
2018-09-06 01:26:55 18981 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2018-09-06 01:26:55 18981 [ERROR] Unknown/unsupported storage engine: InnoDB
2018-09-06 01:26:55 18981 [ERROR] Aborting

Just severely scratching my head as the new file permissions match the old. Could something somewhere be forcing mysql to only use /var as location?

Package MySQL Components In 3rd Party Installer (1 reply)

$
0
0
Hi,
I am new to MySQL. I am a software programmer, developing a product that will utilize MySQL under the hood to log/manage test results. I would like to package MySQL server, Connector/ODBC, and a prepopulated database into my 3rd party installer (LabVIEW based). My goal is to include everything that is needed to install the software such that the user does not need to configure anything. Is there any documentation available that details the files I should include (for components previously referenced) in my installer and where they should be installed? Any help along these lines would be greatly appreciated. Thanks in advance!

Brooks

8.0.13 and mysqld_multi dosent seem to work. (no replies)

$
0
0
running 8.0.13 and mysqld_multi dosent seem to work.
I have 3 instances, i can run any one of them by itself, i can also run all
3 of them at the same time using mysqld_safe --defaults-file=/etc/mysqlN.cnf (where N is 1,2,3)

I created a /etc/my.cnf following the example in the man pages (modified to fit my setup) but when i try mysqld_multi start or mysqld_multi start N (where N
is 1,2,3)

it dosent work!! looks like mysqld_safe is ignoring /etc/my.cnf file and using
generic starting conditions like starting mysqld daemon with databases from
/usr/local/mysql/data

anyone else have this issue?

BTW same setup works fine for 5.7.23

Multiple MySQL instances -> License? (no replies)

$
0
0
Hello everybody,


if I running multiple mysql instances on one server, how many enterprise license do I need?

Lets say I have one virtual maschine wie five instances.
Do I need one or five enterprise licenses?


BR
Christian

Watching schema changes (1 reply)

New install for Mojave with 8.0.13 (no replies)

$
0
0
I had downloaded the .dmg package with the version 8.0.13 for Mojave . Install good , but when I want connect the mysql with the workbench , it said
"Your connection attempt failed for user 'root' from your host to server at localhost:3306:
Access denied for user 'root'@'localhost' (using password: YES)"
so I did these two thins:
1.open the "System Preferences-->MySQL"first , I had been saw mysql working well;
2.open bash , fill in the command "sudo /usr/local/mysql/bin/mysqld_safe --skip-grant-tables",yes I want to reset the root PWD , but I got this
"localhost:mysql paper$ sudo /usr/local/mysql/bin/mysqld_safe --skip-grant-tables
Password:
2018-12-10T03:39:21.6NZ mysqld_safe Logging to '/usr/local/mysql/data/localhost.err'.
2018-12-10T03:39:22.6NZ mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
2018-12-10T03:39:24.6NZ mysqld_safe mysqld from pid file /usr/local/mysql/data/localhost.pid ended"

so how can I reset the PWD ?
Anyone can help me ?
Thanks a lot , first !

Can we move conf file from one location to another? (no replies)

$
0
0
Hello,

I have installed 5.6.36 MySQL Community Server (GPL) version of mysql on linux server.

But my.cnf file location is /usr/my.cnf instead of /etc/my.cnf.

Can I move the file from /usr/my.cnf file location to /etc/?

Or if I keep at the same location will it be ok?

Thanks,
Priya

multiple instance using systemd - need help (no replies)

$
0
0
I am currently trying to install a multiple instance of MySQL 5.7 on Oracle Linux 7 server and I am having issues. Here is what I have done so far

Create mysqld@.service in /usr/lib/systemd/system with contents

[Unit]
Description=MySQL Multi Server for instance %i
After=syslog.target
After=network.target

[Service]
User=mysql
Group=mysql
Type=forking
ExecStart=/usr/bin/mysqld_multi start %i
ExecStop=/usr/bin/mysqld_multi stop %i
Restart=always
PrivateTmp=true

[Install]
WantedBy=multi-user.target



Edited the /etc/my.cnf as below

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock

# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0

# Recommended in standard MySQL setup
#sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

[mysqld_multi]
mysqld = /usr/bin/mysqld_safe --basedir=/usr

[mysqld1]
port=3307
datadir=/var/lib/mysql/1/
socket=/var/lib/mysql/1/mysql.sock
pid-file=/var/run/mysqld/mysqld1.pid
log-error=/var/log/mysqld1.log
symbolic-links=0

[mysqld2]
port=3308
datadir=/var/lib/mysql/2/
socket=/var/lib/mysql/2/mysql.sock
pid-file=/var/run/mysqld/mysqld2.pid
log-error=/var/log/mysqld2.log
symbolic-links=0



ran the following commands:
mkdir /var/lib/mysql/{1,2}
chown mysql:mysql /var/lib/mysql/1
chown mysql:mysql /var/lib/mysql/2
mysql_install_db --user=mysql --datadir=/var/lib/mysql/1/
mysql_install_db --user=mysql --datadir=/var/lib/mysql/2/
touch /var/log/mysqld{1,2}.log
chmod o-r /var/log/mysqld{1,2}.log
chcon --reference=/var/log/mysqld.log /var/log/mysqld{1,2}.log
systemctl daemon-reload

Then tried to start the mysqld1 service which fails:
mysqld@1.service - MySQL Multi Server for instance 1
Loaded: loaded (/usr/lib/systemd/system/mysqld@.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Mon 2018-12-10 14:02:42 EST; 56s ago
Process: 8790 ExecStart=/usr/bin/mysqld_multi start %i (code=exited, status=1/FAILURE)

Dec 10 14:02:41 ictmysql02 systemd[1]: Failed to start MySQL Multi Server for instance 1.
Dec 10 14:02:41 ictmysql02 systemd[1]: Unit mysqld@1.service entered failed state.
Dec 10 14:02:41 ictmysql02 systemd[1]: mysqld@1.service failed.
Dec 10 14:02:42 ictmysql02 systemd[1]: mysqld@1.service holdoff time over, scheduling restart.
Dec 10 14:02:42 ictmysql02 systemd[1]: Stopped MySQL Multi Server for instance 1.
Dec 10 14:02:42 ictmysql02 systemd[1]: start request repeated too quickly for mysqld@1.service
Dec 10 14:02:42 ictmysql02 systemd[1]: Failed to start MySQL Multi Server for instance 1.
Dec 10 14:02:42 ictmysql02 systemd[1]: Unit mysqld@1.service entered failed state.
Dec 10 14:02:42 ictmysql02 systemd[1]: mysqld@1.service failed.

I am not sure where I went wrong or what is missing. Any help is greatly appreciated.
Thank you,
Rene

mysql 5.5 master slace configuration upgrade to 5.6 (1 reply)

$
0
0
Hi Guys,

We have mysql 5.5 running on RHEL 6.3 with master slave configuration.

Can anyone help me to upgrade mysql from 5.5 to 5.7




Thanks,
Devesh Bhole

COMPRAR BILLETES FALSOS,SSD PRODUCTOS QUÍMICOS Y DOCUMENTOS - (legitsuppliersproduction@gmail.com) (no replies)

$
0
0
COMPRAR BILLETES FALSOS,SSD PRODUCTOS QUÍMICOS Y DOCUMENTOS - (legitsuppliersproduction@gmail.com)

* Hola somos los mejores productores de billetes de ALTA CALIDAD, obteniendo un
Pasaporte, DNI o MANEJO REGISTRADO Y NO REGISTRADO *
* La licencia o cualquier otro documento es simple. Podemos hacer que ambos estén registrados
Y documentos NO REGISTRADOS. *
Sin embargo, los documentos REGISTRADOS son más caros que los NO REGISTRADOS.
Se necesita tiempo, habilidad y contactos para hacerlo. Tenga en cuenta que, el falso
Va a ser 100% único y de muy buena calidad. La diferencia es
Basado en el registro de los números. El documento real será
registrado en la base de datos del país para que pueda usarlo para viajar a
cualquier país de su elección en el país, mientras que la falsa voluntad
No estar registrado pero puede ser usado también.

PÓNGASE EN CONTACTO CON NOSOTROS A TRAVÉS DE LOS VARIOS MEDIOS A CONTINUACIÓN:


CORREO ELECTRÓNICO DE ATENCIÓN AL CLIENTE: (legitsuppliersproduction@gmail.com) O
 (oceana_home_delivery_service@consultant.com)
O
(oceanahomedelivery@mail.com)

SKYPE: OCEANADELIVERY

NÚMERO DE TEXTO O QUÉ PASADO PARA CLIENTES DE EE. UU .:
 +1 (484) 589-0513 (OR) 001 (484) 589-0513

WHATSAPP SOLAMENTE: PARA CLIENTES FUERA DE EE. UU.:
+ 237-699-666-484 (OR) 00237-699-666-484

* comprar, obtener, no registrado, pasaporte, pasaporte, identificación, tarjeta, tarjetas, Reino Unido, vender,
en línea, canadiense, británico, sucio, novedad, falsificado, falso, americano,
estados unidos, estados unidos, nosotros, italiano, malaysian, australiano, documentos,
idetidad, identificación, conductor, licencia, licencia, conducir, residencia,
licencia, identificador de pasaporte falso SSN, pasaporte falso libre, robo de identidad, falso,
novedad, camoflauge, pasaporte, anónimo, privado, seguro, viaje, anti
terrorismo, internacional, offshore, banca, identificación, conductor, conductores, licencia,
instantáneo, en línea, en venta, barato, al por mayor, nueva identidad, segundo,
ciudadanía, identidad, identificación, documentos, diplomático, nacionalidad,
cómo, dónde, comprar, comprar *
*, comprar, hacer, construir, pasaporte, identificación, british, honduras, uk, usa, us, us,
canadá, canadiense, extranjero, visa, suizo, tarjeta, identificaciones, documento, obtención, visa,
tarjetas, foriegn. *

(legitsuppliersproduction@gmail.com)


((NOTAS BANCARIAS))

* Este proyecto de ley no está hecho solo para fines industriales y profesionales.
fabricación. De técnicos de TI de alta calidad de EE. UU., Rusia, China y
Corea Ofrecemos billetes de alta calidad para las siguientes monedas: *
EUR - Euro
USD - Dólar estadounidense
DNR - DINAR
GBP - Libra esterlina
INR - Rupia india
AUD - Dólar australiano
CAD - Dólar canadiense
AED - Emirati Dirham
ZAR - Rand
CHF - franco suizo
CNY - Renminbi Yuan Chino
MYR - Ringgit de Malasia
THB - Baht tailandés
NZD - Dólar de Nueva Zelanda
SAR - Riyal de Arabia Saudita
QAR - Qatari Riya

PÓNGASE EN CONTACTO CON NOSOTROS A TRAVÉS DE LOS VARIOS MEDIOS A CONTINUACIÓN:


CORREO ELECTRÓNICO DE ATENCIÓN AL CLIENTE: (legitsuppliersproduction@gmail.com) O
(oceana_home_delivery_service@consultant.com)
O
(oceanahomedelivery@mail.com)

SKYPE: OCEANADELIVERY
NÚMERO DE TEXTO O QUÉ PASADO PARA CLIENTES DE EE. UU .:
 +1 (484) 589-0513 (OR) 001 (484) 589-0513

WHATSAPP SOLAMENTE: PARA CLIENTES FUERA DE EE. UU.:
+ 237-699-666-484 (OR) 00237-699-666-484

(legitsuppliersproduction@gmail.com)

FINALMENTE VENDEMOS PRODUCTOS FARMACÉUTICOS (DROGAS, MARIJUANA Y PRODUCTOS QUÍMICOS INVESTIGADOS)

Suministramos cera de calidad, dabs, cannabis a base de hierbas para el cáncer, la ansiedad, la depresión, el estrés del sueño, el apetito, los dolores crónicos,

Esguince, Músculos Rotos ETC.
tenemos medicamentos para el dolor de 100% de pureza sin receta que pueden ayudarlo a comprar y construir negocios a largo plazo con

nosotros al siguiente nivel, y nos encantaría discutirlos contigo. Por favor, llámeme directamente al o envíe un mensaje de texto o respuesta, no podemos esperar a

¡hablar contigo!
PÓNGASE EN CONTACTO CON NOSOTROS A TRAVÉS DE LOS VARIOS MEDIOS A CONTINUACIÓN:


CORREO ELECTRÓNICO DE ATENCIÓN AL CLIENTE: (legitsuppliersproduction@gmail.com) O
(oceana_home_delivery_service@consultant.com)
O
(oceanahomedelivery@mail.com)

SKYPE: OCEANADELIVERY
NÚMERO DE TEXTO O QUÉ PASADO PARA CLIENTES DE EE. UU .:
 +1 (484) 589-0513 (OR) 001 (484) 589-0513
WHATSAPP SOLAMENTE: PARA CLIENTES FUERA DE EE. UU.:
+ 237-699-666-484 (OR) 00237-699-666-484

(legitsuppliersproduction@gmail.com)

android 6.1 lolipop apps (no replies)

$
0
0
I used a old ver mobile phone, which used android 6.1 lolipop ver. so can I install mySQL apps without ads?

I tried to install MySQL Community, but it always install MySQL Commercial (no replies)

$
0
0
When I write the follow code in cmd: "C:\mysql-installer-community-8.0.12.0.msi /passive", the MySQL version were installed is the commercial, not the Community. What am I doing wrong?

MySQL 8.0.13 database can't start on SAN disk (Linux) (no replies)

$
0
0
hi Guys,

I get a problem that the MyQL 8.0.13 can't start on SAN disk if I move the database to SAN disk.
mysql-community-server-8.0.13-1.sles12.x86_64
SLES 12 SP3, pacemaker cluster

The SAN disk path is /idm/var/lib/mysql, it get following error.

*******************************
node-1:/etc/apparmor/profiles/extras # systemctl status mysql.service
● mysql.service - MySQL Server
Loaded: loaded (/usr/lib/systemd/system/mysql.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2018-12-24 23:00:03 HKT; 1min 25s ago
Docs: man:mysqld(8)
http://dev.mysql.com/doc/refman/en/using-systemd.html
Process: 29564 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS (code=exited, status=1/FAILURE)
Process: 29547 ExecStartPre=/usr/bin/mysqld_pre_systemd (code=exited, status=0/SUCCESS)
Main PID: 29564 (code=exited, status=1/FAILURE)
Status: "SERVER_BOOTING"
Error: 13 (Permission denied)

Dec 24 23:00:03 node-1 mysqld[29564]: 2018-12-24T15:00:03.953277Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.13) starting as process 29564
Dec 24 23:00:03 node-1 mysqld[29564]: 2018-12-24T15:00:03.956665Z 0 [Warning] [MY-010091] [Server] Can't create test file /idm/var/lib/mysql/node-1.lower-test
Dec 24 23:00:03 node-1 mysqld[29564]: 2018-12-24T15:00:03.956680Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for /idm/var/lib/mysql/ is case insensitive
Dec 24 23:00:03 node-1 mysqld[29564]: 2018-12-24T15:00:03.957159Z 0 [ERROR] [MY-010172] [Server] failed to set datadir to /idm/var/lib/mysql/
Dec 24 23:00:03 node-1 mysqld[29564]: 2018-12-24T15:00:03.958486Z 0 [ERROR] [MY-010119] [Server] Aborting
Dec 24 23:00:03 node-1 mysqld[29564]: 2018-12-24T15:00:03.958649Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.13) MySQL Community Server - GPL.
Dec 24 23:00:03 node-1 systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Dec 24 23:00:03 node-1 systemd[1]: Failed to start MySQL Server.
Dec 24 23:00:03 node-1 systemd[1]: mysql.service: Unit entered failed state.
Dec 24 23:00:03 node-1 systemd[1]: mysql.service: Failed with result 'exit-code'.
********************

If migrate out the cluster resource (SAN disk mount point) to node-2, and copy database with the same path (means it is local) on node-1, the mysql can start.
There have no install AppArmor already.

Any setting that need the of MySQL database run SAN disk?

Regards
Thanks...KEN

mysqld fails to start after system reboot (1 reply)

$
0
0
Everything was working fine, then I did a reboot, now the service won't start.

I tried creating a my.ini file, and began using the command line shown below, based on a Stack Overflow post, to try and get some idea of why the service won't start. I added a datadir line to the my.ini, pointing to my data directory. Added "NETWORK SERVICE" to the permissions list.... So far, nothing seems to make it happy.

System: Windows 10, MySQL 8.0.13.

mysqld --defaults-file="C:\Program Files\MySQL\MySQL Server 8.0\my.ini" --standalone --console
2018-12-31T16:37:01.590882Z 0 [System] [MY-010116] [Server] C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe (mysqld 8.0.13) starting as process 1364
2018-12-31T16:37:01.904370Z 1 [ERROR] [MY-011011] [Server] Failed to find valid data directory.
2018-12-31T16:37:01.909568Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2018-12-31T16:37:01.914044Z 0 [ERROR] [MY-010119] [Server] Aborting
2018-12-31T16:37:01.918753Z 0 [System] [MY-010910] [Server] C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe: Shutdown complete (mysqld 8.0.13) MySQL Community Server - GPL.

Issues upgrading MySQL due to env variable (no replies)

$
0
0
I am having issues upgrading MySQL running on Windows, using the ZIP installer. I am attempting to upgrade from MySQL v5.6.37 to v5.7.24. There is an older version of MySQL, v5.5.9, still installed on the server. Only the 5.6 service is running on the server.

When I run the mysql_upgrade command, I get the following output:

C:\Windows\system32>mysql_upgrade

Looking for 'mysql.exe' as: C:\Program Files\MySQL\MySQL Server 5.5\bin\mysql.exe

Looking for 'mysqlcheck.exe' as: C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqlcheck.exe

The upgrade eventually errors out. Running mysql --version from the command promot returns
mysql Ver 14.14 Distrib 5.5.9, for Win64 (x86)

Somewhere there's an environment variable that is set to point to v5.5.9. I've checked CLASSPATH, which isn't configured, and PATH, which doesn't point to any of the MySQL installs.
Where should I be looking for this environment variable? And how can I change it?

Minimum machine configuration for MySQL 5.6 / 5.7 (no replies)

$
0
0
I am looking for minimum machine configuration required to install MySQL 5.6 / 5.7 community edition.

Please share reference link as I am unable to locate it on MySQL website and installation documents.

Regards,
Azaz Rasool
M: +966 54 007 9640

Wamp install fails to fully load mySQL (1 reply)

$
0
0
2019-01-10T16:44:17.477793Z 0 [Note] wampmysqld64 (mysqld 5.7.23) starting as process 4480 ...
2019-01-10T16:44:17.521114Z 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-01-10T16:44:17.522720Z 0 [Note] InnoDB: Uses event mutexes
2019-01-10T16:44:17.523981Z 0 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2019-01-10T16:44:17.525710Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2019-01-10T16:44:17.527700Z 0 [Note] InnoDB: Number of pools: 1
2019-01-10T16:44:17.529819Z 0 [Note] InnoDB: Not using CPU crc32 instructions
2019-01-10T16:44:17.538854Z 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
2019-01-10T16:44:17.557284Z 0 [Note] InnoDB: Completed initialization of buffer pool
2019-01-10T16:44:17.584414Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2019-01-10T16:44:17.587734Z 0 [Note] InnoDB: Log scan progressed past the checkpoint lsn 49472
2019-01-10T16:44:17.588812Z 0 [Note] InnoDB: Doing recovery: scanned up to log sequence number 59795
2019-01-10T16:44:17.590150Z 0 [Note] InnoDB: Database was not shutdown normally!
2019-01-10T16:44:17.591110Z 0 [Note] InnoDB: Starting crash recovery.
2019-01-10T16:44:17.599827Z 0 [Note] InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percent: 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
2019-01-10T16:44:18.109833Z 0 [Note] InnoDB: Apply batch completed
2019-01-10T16:44:18.212970Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-01-10T16:44:18.215861Z 0 [Note] InnoDB: Setting file '.\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-01-10T16:44:18.282217Z 0 [Note] InnoDB: File '.\ibtmp1' size is now 12 MB.
2019-01-10T16:44:18.287753Z 0 [Note] InnoDB: 1 redo rollback segment(s) found. 1 redo rollback segment(s) are active.
2019-01-10T16:44:18.290141Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2019-01-10T16:44:18.292287Z 0 [ERROR] InnoDB: Cannot create sys_virtual system tables; running in read-only mode.
2019-01-10T16:44:18.294708Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2019-01-10T16:44:23.453361Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2019-01-10T16:44:23.455421Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2019-01-10T16:44:23.457208Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2019-01-10T16:44:23.459279Z 0 [ERROR] Failed to initialize builtin plugins.
2019-01-10T16:44:23.460853Z 0 [ERROR] Aborting

2019-01-10T16:44:23.461934Z 0 [Note] Binlog end
2019-01-10T16:44:23.463060Z 0 [Note] Shutting down plugin 'CSV'
2019-01-10T16:44:23.477101Z 0 [Note] wampmysqld64: Shutdown complete

MySQL User management GUI (no replies)

$
0
0
I am looking for a GUI to manage user in MySQL. So far the ones I have seen only deal with the Global privileges. Is there a good tool for managing users at the DB and table level?

[Linux] Can't create new user from bash. 'root'@'localhost' doesn't exist (2 replies)

$
0
0
Hello,
I've been working on a C++ application to connect with my MySQL database running on a Linux server. But I wasn't able to connect so I tried changing the access mode from my root user to "all access", not knowing it'd vanish the localhost capability.

Is there any way to create a new user with all privelegues from shell/terminal?

thanks

cant startup mysql on fedora (no replies)

$
0
0
Hi,
I unable to startup mysql on fedora 29

Help

sudo service mysqld start

[fsze88hoho@localhost ~]$ systemctl status mysqld.service
● mysqld.service - MySQL Server
Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor pres>
Active: failed (Result: exit-code) since Sat 2019-01-19 12:56:29 HKT; 1min 5>
Docs: man:mysqld(8)
http://dev.mysql.com/doc/refman/en/using-systemd.html
Process: 15866 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS (code=exited, status=1>
Process: 15119 ExecStartPre=/usr/bin/mysqld_pre_systemd (code=exited, status=>
Main PID: 15866 (code=exited, status=1/FAILURE)
Status: "SERVER_BOOTING"
Error: 2 (No such file or directory)

Jan 19 12:56:25 localhost.localdomain systemd[1]: Starting MySQL Server...
Jan 19 12:56:29 localhost.localdomain systemd[1]: mysqld.service: Main process >
Jan 19 12:56:29 localhost.localdomain systemd[1]: mysqld.service: Failed with r>
Jan 19 12:56:29 localhost.localdomain systemd[1]: Failed to start MySQL Server.
Viewing all 7246 articles
Browse latest View live


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