Re: Building MySQL 5.7 From Source on Windows

From: Lyle H. Gray <lylefitzw_at_no.spam.gmail.com.invalid>
Date: Thu, 10 Oct 2019 09:32:20 -0500
Message-ID: <XnsAAE46B3468608graynoibisspamcsumas_at_216.166.97.131>


"Lyle H. Gray" <lylefitzw_at_no.spam.gmail.com.invalid> wrote in news:XnsAAE3688A54059graynoibisspamcsumas_at_216.166.97.131:

> Axel Schwenke <axel.schwenke_at_gmx.de> wrote in
> news:qnjvgl$89n$1_at_dont-email.me:
>

>> On 09.10.2019 04:25, Lyle H. Gray wrote:
>>> Without going into the reasons for this (it's a corporate decision
>>> that I don't have a say in), I find myself in the following
>>> situation: 
>> ...
>>> my option appears to be to build MySQL 5.7 from source.  Except that
>>> the documentation for building from source appears to be limited to
>>> Linux servers.
>>> 
>>> So, does anyone know of any way to build MySQL 5.7 from source on
>>> Windows? 
>> 
>> You're doomed :)

>
> Yeah, I'm getting that impression. I'm considering building a docker
> implementation instead. ;-)
>
>> At least I can point you to the Windows build instructions for
>> MariaDB: 
>> 
>> https://mariadb.com/kb/en/library/Building_MariaDB_on_Windows/
>> 
>> MySQL and MariaDB are (still) similar enough that this should work
>> for both. I still don't expect that it will work 100% out of the box.
>> I strongly recommend to run the test suite on your build.

>
> Oh, I intend to.
>
> I downloaded the MySQL 5.7 source from github, since using rpm to
> acquire the source isn't an option in my environment.
>
>>
>> Good luck!
>>

>
> Thanks!
>
> Lyle

FYI: I was able to combine the instructions for MariaDB with some Windows-specific notes that I was able to locate on the MySQL documentation pages for installing MySQL, and I was able to build MySQL 5.7 from the source copioed from GitHub.

Axel, MySQL and MariaDB _have_ diverged enough that the MariaDB instructions needed a lot of adjustment, but it helped me find the notes for building on Windows.

[Quoted] However, my build is not opening the port specified in the my.ini configuration file (checked using netstat -an on host). Everything else _appears_ to be fine, but I can't connect to the running service to verify that, so I can't actually run any tests.

So, currently stuck (and still doomed :D ).

Lyle Received on Thu Oct 10 2019 - 16:32:20 CEST

Original text of this message