Skip to content

Compiling for Windows and MySQL Server crash when generating index. #80

@BillyGeat

Description

@BillyGeat

We have managed to compile myvector for using under Windows and it works, except the creation of indexes. The MySQL server crashes then - see also here: p3io/myvector-dev#21

Attached here are the changed files to make it compile / work in Windows, including creating the index without crashing the server.
There are many changes, some critical (as locking for read / write operations, what caused the crash) and some other more or less important changes. These changes are for sure also important or needed for Linux and other OS.

myvector-modified.zip

Important to make it work in Windows is the config file. We found that it does not work giving only a MySQL sock file (or at all) but needs the parameters host and port:

myvector_user_id=myvectoruser
myvector_user_password=***
#myvector_socket=D:/MySQLData/mysql.sock
myvector_host=127.0.0.1
myvector_port=3306

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomerswontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions