Trying to open MySQL Utilities in the MySQL Workbench and get the following error:
"The command line MySQL Utilities could not be located. To use them, you must download and install the utilities package for your system from www.mysql.com. Click on the Download button to proceed."
However, when I go to the address and download/install, this does not fix the issue.
How do I fix or get around this issue?
I'm running Windows 8.1 64-bit
in error the system is not able to recognize it (MySQL Utilities could not be located) and in default assumes thats Python has been installed and the whole library are developed with Python :
The library is written entirely in Python, meaning that it is not necessary to have any other tools or libraries installed to make it work. It is currently designed to work with Python v2.6 or later and there is no support (yet) for Python v3.1.
so if you don't have Python on your system just install and its should fix the problem.
Related
I'm a macOS user and my editor is intelli j.
And I want to install Mysql connector "NET" but, I can't even install...
How can I use Mysql connector NET in intelli j???
(or should I use it in only VS code??)
The MySQL Connector/NET is for Microsoft C#/.NET, not for Java, so you cannot install MySQL Connector/NET and use it from IntelliJ. You need to use MySQL Connector/J, and you don't 'install' it. If you want to use it from within IntelliJ itself, you don't need to install anything, IntelliJ has it included (or will download it when needed).
If you want to use it from a program you write in IntelliJ, you will need to add a dependency to your pom.xml (Maven), or build.gradle (Gradle), or manually add a library to your project (if you're not using a build tool), see How to add external library in IntelliJ IDEA?.
I need to read a database table from inside a Lua script in pdns-recursor on a Scientific Linux 6.4 server which comes with Lua pre-loaded.
Apparently I have to use luarocks to install luasql. When I attempt to install luasql I get:
Checking Lua includes... lua.h not found
lua.h is not on the server.
I tried removing the installed version so I could install from binary but then that trashed the system which apparently uses the installed Lua for everything (yum, rpm, etc). Now I have to reload OS. How can I get MySQL access from embedded Lua?
Thanks in advance.
I assume that you have already checked yum to see if luasql is available through that; if not, you should first do that, and install it through yum if possible.
The immediate cause of the problem you're having is that luarocks automatically builds modules from source, which requires access to the lua headers. These are not needed simply to run programs that use Lua, so they are not installed as part of the normal Lua package. I'm not familiar with Scientific Linux, but you can probably get them by installing a package named lua-dev, lua-devel, lua-headers, or some variant thereof. You may also need the mySQL packages (both the libraries proper and the headers). Once you have those installed, give it another try.
You might also try LuaDist, which I find to be generally more polished than luarocks, and capable of automatically downloading more dependencies; in particular it probably will not require the lua headers installed, and can handle automatically downloading and installing lua itself from source. It does, however, require CMake installed.
If for some reason you can't install the required headers and can't get luarocks or luadist working, you can try downloading and building luaSQL by hand. The Lua headers can be found in the Lua 5.1 source package and LuaSQL 2.2. Assuming the Scientific Linux maintainers haven't excessively customized the version of lua they ship with it, the results should be compatible with the system Lua install.
I need to create a C program that requires a MySQL database. For this, I've seen on the web that I need to use a MySQL connector (which I installed in my PC). I run my code with Code::Blocks/mingw and I don't know how to add the mysql libraries to it.
To connect to a MySQL database I need the mysql.h file (I have the file but I don't know where to place it in my computer). Can you guys help me?
If you're using mingw, then from mingw installer you should find the support for MySQL library. If it doesn't appear there, then you can download the MySQL-devel source tarball and then compile and install it with mingw (you need GCC and other software building tools installed). In this way you'll get support of mysqllib support in mingw like GNU/Linux environment.
I'm working on a database-driven QT project (basically a journal/diary tool) that will eventually allow users to connect with MySQL, SQLite, and Postgres. For now, only the MYSQL module is built, but i'm having problems making it work on Windows.
I'm compiling against a static-built QT 4.7.4 library on windows 7, and this allowed the program to find the QMYSQL driver properly. I know this because I'm not getting the "QMYSQL driver not loaded" error when I build everything staticly. However, when I try to connect to the database, I get "QSqlQuery::exec: database not open" errors. At first, I thought this was because the remote database wouldn't accept connections from my address, but I couldn't connect to localhost (as root, with the correct password) either.
I know the application code is good because it works perfectly on Linux (Same QT version, non-static build... it seemed to "just work" when built on Linux without any extra steps) so I'm wondering if QT is built correctly on Windows. I wrote a batch file to automate the build process:
TITLE Build QT 4.7.4 (static)
ECHO ON
cd C:\qt-4.7.4\
path C:\MinGW\bin
configure.exe -opensource -platform win32-g++ -release -static -qt-sql-mysql -l mysql -I C:\include -L C:\lib
PAUSE
mingw32-make
PAUSE
Am I building QT correctly on Windows? When I first experienced this problem, I followed these instructions: http://rag.com.au/linux/qt4howto.html but it still wouldn't work after the most recent build.
I had to build QT staticly because without that my application couldn't find the QMySQL driver. At first, I tried using the includes/libraries from the MySQL 5.5 community edition, but the build failed about halfway through for some reason. (It didn't like something about that particular libmysql.lib) When I tried using the headers/libs I compiled against in Linux, the build finished properly, but I'm getting this problem now.
Does it matter where the Headers/Libraries are stored when QT is compiled?
Also, I have a triple-core CPU. During Windows build, I noticed that mingw32-make only used one core since my CPU was pegged at 33% the whole time. Is there a way to make it use the whole CPU so it won't take 4-5 hours to build?
Thanks in advance for any help/suggestions.
Try this to get the available drivers for you.
QSqlDatabase * db = new QSqlDatabase;
qDebug() << db->drivers();
This will give you the list of available drivers.
Check whether "QMYSQL" is there or not.
If it is not there, you'll have to install the driver.
Check this link for the installation.
I need to be able to read/write to a mysql database using Perl. On all previous servers I have been able to use ppm-shell do download and configure the DBI module for mysql (mysql-dbd I think). However on one particular server, I don't have internet access.
Is there an easy way to get this installed? I'm on Windows 2008 Server by the way. I'm not brilliant at Perl either so if anyone can give some easy to understand instructions I'd really appreciate it
Thanks
Download the module from here http://cpan.uwinnipeg.ca/PPMPackages/10xx/
install via the command line:
ppm install filename.ppd
Get the module. ( this can help: http://win32.perl.org/wiki/index.php?title=PPM_Repositories)
and do: ppm install FILE.ppd