Skip to content

Tag: mysql

Using MySQL INTO OUTFILE not writing to tmp

I’ve recently moved a project to a live VM instance, it worked perfectly during development and testing on my macOS box using XAMPP. Essentially the web app has 3 export options: XML, PDF and CSV. XML works fine and is created using a SELECT statement then looping through the results and pushing that in…

Stream data for users

I want to build a server that could stream data from multiple endpoints simultaneously for analytics purposes. Scenario: users registered on our platform will provide credentials of their IoT device. E.g https://stream.example.com/user1 & https://stream.example.com/user2 Our responsibility is to monitor t…

Poco C++ Libraries: “Not found: mysql”

I am using poco-1.7.7 with MySQL. I am building with g++ on Ubuntu. Building, linking and running works fine. However, when a Data Session is created, an exception “Not found: mysql” is thrown: The mysql client is installed and is part of $PATH. Additional information: I am running Ubuntu using Do…

mcafee mysql audit plugin version vs mysql version

Actually I was searching a opensource tool/plugin/command by which I can get some logs suppose who executed a truncate command at which time from which IP etc. but not getting such type a feature in open source (don’t want to enable general log as wants specific/limited logs). Fortunately I got informat…

Convert UTC to MDT via MySQL

I’m having trouble changing my queries to use the my current MDT timezone. The server and MySQL are UTC When I try to run CONVERT_TZ() to US/Mountain, my time is way off. Returns 2016-08-08 18:00:00 Not sure what I’m doing wrong here. Answer Instead of curdate, you should use now like you did in y…

How to make MySQL colum name case insensitive in Cent OS?

I am using Cent OS 6.5 and MySQL 5.1.73 and I know database name and table name and also column names are case sensitive in Cent os Now, I want to make MySQL work as case insensitive in Cent OS. I have tried the below link its worked for the table name. But i need to case sensitive for the