cbpporter Messages: 1427 Registered: September 2007
Ultimate Contributor
The problem is that you did not add the correct packages to your own package. You are using 3 packages, which is currently the minimum for console applications. "mysqlconsapp" is probably your own package. Core is the core of U++, and plugin/z is a dependency of Core, allowing it to provide compression and decompression services. Core does not feature Sql integration by itself. That is a job for another package.
You need to get used to the whole package idiom. Try to figure out what your project is made out of. So if you only have you code and the basics, you need to add a package that allows for Sql. This package is called Sql. You probably need the MySql package instead because you are using mysql.
PS: The fact that you can compile fine, but fail at linking is an unfortunate consequence of the way include paths work and you can include any file, even if you are not using the package if it is in the right location on disk.