Can you give me some kind of guide for import old version mysql db to the latest instance?

|
ColonelMustang 2021-01-26 08:38:45
EXdroomer 2021-01-26 08:35:09
Hello. Can you give me some kind of guide for import old version mysql db to the latest instance?

Mysqldump

EXdroomer 2021-01-26 08:55:33
ColonelMustang 2021-01-26 08:38:45
Mysqldump

Yes i know. I mean are there any problems with old db versions after import?

ColonelMustang 2021-01-26 09:07:07
I think if you instead use mysql workbench, it should take care of doing it
piterden 2021-01-26 09:09:32
There is the migration guide on official docs site
EXdroomer 2021-01-26 13:16:20
ColonelMustang 2021-01-26 09:07:07
I think if you instead use mysql workbench, it should take care of doing it

Thanx

Deb_575 2021-01-27 16:13:34
Can some one help with this, I am trying to initialize mysql 8.0.23 it’s a fresh installation and this below error is prompting

Failed to find valid data directory.
Data Directory initialization failed.
Aborting.

All permissions are in place and am using mysql user to initialize the server.

Master Yoda 2021-01-27 17:48:10
Deb_575 2021-01-27 16:13:34
Can some one help with this, I am trying to initialize mysql 8.0.23 it’s a fresh installation and this below error is prompting

Failed to find valid data directory.
Data Directory initialization failed.
Aborting.

All permissions are in place and am using mysql user to initialize the server.

Check datadir variable in my.cnf ? Excuse my ignorance but I have never ever had to initialise data directory when installing from binary packages.

piterden 2021-01-27 20:57:49
Master Yoda 2021-01-27 17:48:10
Check datadir variable in my.cnf ? Excuse my ignorance but I have never ever had to initialise data directory when installing from binary packages.

Defined directory should have mysql owner and group

Deb_575 2021-01-27 21:36:21
piterden 2021-01-27 20:57:49
Defined directory should have mysql owner and group

It has mysql as owner only
I should mention here that this is not the first time I am installing I am well aware of the process. But even to me this error is new the keyword here being ‘valid’

Master Yoda 2021-01-27 21:38:14
piterden 2021-01-27 20:57:49
Defined directory should have mysql owner and group

That is just changing path to dir. Right? Nothing like –initialize or so like they say?

MasterZiv 2021-01-27 22:54:07
piterden 2021-01-27 20:57:49
Defined directory should have mysql owner and group

This is arguable… actually the user and group can be anything….

piterden 2021-01-27 23:12:46
MasterZiv 2021-01-27 22:54:07
This is arguable… actually the user and group can be anything….

Actually yes. It should match the name and group defined in the same config file or mysql if nothing defined

MasterZiv 2021-01-28 17:58:00
Don’t do administrative tasks with php , this is just never should be done.

Use mysql utility.

piterden 2021-01-28 19:27:22
MasterZiv 2021-01-28 17:58:00
Don’t do administrative tasks with php , this is just never should be done.

Use mysql utility.

https://github.com/Piterden/crosswords-module/blob/master/src/CrosswordsModuleSeeder.php

piterden 2021-01-28 19:31:23
You (or your user) are anyway should fill some data before start install. Have you already done the installer of other not DB stuff?
piterden 2021-01-28 22:41:45
But you sad you have already sold your projects. How people installed them?
Dilip DBA 2021-01-30 13:33:27
Hello guys, I am new Lerner and unable to do rpm installation mysql on redhat 8 , I downloaded the rpm files for mysql version 8.0.23 .. could you please share the sequence and steps for installation mysql on Linux. Thanks in advance
piterden 2021-01-30 13:43:14
https://www.tecmint.com/install-latest-mysql-on-rhel-centos-and-fedora/

How to Install MySQL 8.0 on RHEL/CentOS 8/7 and Fedora 35
This article will walk through you the process of installing and updating MySQL 8.0 on RHEL/CentOS 8/7/6 and Fedora 35 using MySQL Yum repository via YUM.
Dilip DBA 2021-01-30 13:44:25
Ok, thanks let me try . I was trying with rpm -ivh commands and getting errors
piterden 2021-01-30 13:45:04
You should try to google “mysql redhat install”
piterden 2021-01-30 13:45:49
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/managing_confined_services/chap-managing_confined_services-mysql

ChapterΒ 9.Β MySQL Red Hat Enterprise Linux 6 | Red Hat Customer PortalRed Hat Customer Portal
The Red Hat Customer Portal delivers the knowledge, expertise, and guidance available through your Red Hat subscription.
Dilip DBA 2021-01-30 13:45:55
I got multiple different different docs hence totally got confused from where to start
piterden 2021-01-30 13:46:26
Dilip DBA 2021-01-30 13:45:55
I got multiple different different docs hence totally got confused from where to start

You should learn to feel it

piterden 2021-01-30 13:47:16
Dilip DBA 2021-01-30 13:45:55
I got multiple different different docs hence totally got confused from where to start

mysql_en-7807.jpg

Dilip DBA 2021-01-30 13:49:10
Yes, you are absolutely right πŸ‘ , really appreciate your help on this
piterden 2021-01-30 13:50:01
Oh, NP! )
Dilip DBA 2021-01-30 16:35:15
Thanks , I have successfully done installation
Dilip DBA 2021-01-31 15:07:35
Can anyone share the document to repair corrupt dbs in mysql if possible?
Deb_575 2021-01-31 16:51:55
For innodb engines restart the server with innodb_force_recovery and values can be 0 to 6
For Myisam use repair table
Makgato 2021-01-31 19:55:47
mysql_en-7827.jpg
Hey guys i am beginner please is there anyone who can tell me how can i see table that i created from this program πŸ™πŸ™ please help me
jurgen_dd 2021-01-31 19:58:14
Makgato 2021-01-31 19:55:47
Hey guys i am beginner please is there anyone who can tell me how can i see table that i created from this program πŸ™πŸ™ please help me

select * from makgato

Makgato 2021-01-31 19:59:51
jurgen_dd 2021-01-31 19:58:14
select * from makgato

So it means i should cancel this program before ?

jurgen_dd 2021-01-31 20:01:48
Well that program aka… is code that basically creates the table … simple is that. Table is gonna be empty since no data has been inseted… Select * means: select all columns…. from name of the table…
And not sure what you mean by cancel… you can leave that code, save it or whatever… but you execute new commad…
Makgato 2021-01-31 20:06:59
jurgen_dd 2021-01-31 20:01:48
Well that program aka… is code that basically creates the table … simple is that. Table is gonna be empty since no data has been inseted… Select * means: select all columns…. from name of the table…
And not sure what you mean by cancel… you can leave that code, save it or whatever… but you execute new commad…

Ok thanks

Makgato 2021-01-31 20:09:35
mysql_en-7832.jpg
It gives me errors 😭😭
|