MySQL/MariaDB connector driver building Qt 6 Windows 10
-
@paokaras98 said in MySQL/MariaDB connector driver building Qt 6 Windows 10:
mysqld.exe
What is this?
Clients do not need the server stuff, just deploy client libraries together with your application.And to precise what I mentioned before:
- qmysql.dll - this is the release build of the plug-in
- qmysqld - this is debug build of the plug-in
There is really no need to deploy release AND debug build of the plug-ins/libraries.
@jsulm said in MySQL/MariaDB connector driver building Qt 6 Windows 10:
@paokaras98 said in MySQL/MariaDB connector driver building Qt 6 Windows 10:
mysqld.exe
What is this?
Clients do not need the server stuff, just deploy client libraries together with your application.And to precise what I mentioned before:
- qmysql.dll - this is the release build of the plug-in
- qmysqld - this is debug build of the plug-in
There is really no need to deploy release AND debug build of the plug-ins/libraries.
I understand your point, but what if I want to distribute my app to another computer and this computer does not have any db server installed. Could the database connect and work successfully only with client libraries even if none dbms server software is installed?
-
@jsulm said in MySQL/MariaDB connector driver building Qt 6 Windows 10:
@paokaras98 said in MySQL/MariaDB connector driver building Qt 6 Windows 10:
mysqld.exe
What is this?
Clients do not need the server stuff, just deploy client libraries together with your application.And to precise what I mentioned before:
- qmysql.dll - this is the release build of the plug-in
- qmysqld - this is debug build of the plug-in
There is really no need to deploy release AND debug build of the plug-ins/libraries.
I understand your point, but what if I want to distribute my app to another computer and this computer does not have any db server installed. Could the database connect and work successfully only with client libraries even if none dbms server software is installed?
@paokaras98 Well, of course there should be a server reachable from the client, so client can connect to it. But a client application should not distribute the server.
The client itself only needs client libraries to connect to a server. -
@paokaras98 Well, of course there should be a server reachable from the client, so client can connect to it. But a client application should not distribute the server.
The client itself only needs client libraries to connect to a server.@jsulm said in MySQL/MariaDB connector driver building Qt 6 Windows 10:
@paokaras98 Well, of course there should be a server reachable from the client, so client can connect to it. But a client application should not distribute the server.
The client itself only needs client libraries to connect to a server.Ok I got your point. However, suppose I have a customer to sell my software and this customer does not want to mess up with installations. He wants only an all-in-one installer to install the app and the dependencies(in my case the dbms server). So the dbms server .msi should be somehow included to my final installer and executed... am I right?.
-
@jsulm said in MySQL/MariaDB connector driver building Qt 6 Windows 10:
@paokaras98 Well, of course there should be a server reachable from the client, so client can connect to it. But a client application should not distribute the server.
The client itself only needs client libraries to connect to a server.Ok I got your point. However, suppose I have a customer to sell my software and this customer does not want to mess up with installations. He wants only an all-in-one installer to install the app and the dependencies(in my case the dbms server). So the dbms server .msi should be somehow included to my final installer and executed... am I right?.
@paokaras98 said in MySQL/MariaDB connector driver building Qt 6 Windows 10:
So the dbms server .msi should be somehow included to my final installer and executed... am I right?
Yes, but this has nothing to do with your client application.
-
@jsulm said in MySQL/MariaDB connector driver building Qt 6 Windows 10:
@paokaras98 Well, of course there should be a server reachable from the client, so client can connect to it. But a client application should not distribute the server.
The client itself only needs client libraries to connect to a server.Ok I got your point. However, suppose I have a customer to sell my software and this customer does not want to mess up with installations. He wants only an all-in-one installer to install the app and the dependencies(in my case the dbms server). So the dbms server .msi should be somehow included to my final installer and executed... am I right?.
@paokaras98 said in MySQL/MariaDB connector driver building Qt 6 Windows 10:
Ok I got your point. However, suppose I have a customer to sell my software and this customer does not want to mess up with installations. He wants only an all-in-one installer to install the app and the dependencies(in my case the dbms server). So the dbms server .msi should be somehow included to my final installer and executed... am I right?.
Thank your for your clarification. I will make my research now