Category "mysql"

How to fix " Uncaught TypeError: Argument 1 passed to JpGraphException::defaultHandler() " problem in php 7.1.3 and jpgraph 4.2.6?

I'm working on a graph with a Satisfaction form with a database with jpgraph and I've encountered some issues with an handler error. This is my program: <?

Get date of max hours worked

Tables: Employee ( ID , Name ) EmployeeHours ( EmployeeID ,Date, Hours ) This is my requirement: Write a sql for following results for a year EmployeeI

Error Code: 2068 while loading csv file into MySql

I am using Amazon RDS MySql for data storage. I am able to load data by specifying the column values, however, when I try to load the data from my local machine

How can I use dynamic whitelist on yairEO/tagify?

I'm working on a WordPress project with PHP & MySQL and I am using Tagify for create some tags. The trouble is that I want to have a dynamic whitelist based

How to index IN/OR in WHERE clause

I have query that use IN and OR in clause and cant manage to use index. Any ideas how to rework query to use index ? I tried with UNION as @ErgestBasha suggest

Access mysql running on localhost from minikube

I am running some services in minikube and trying to connect to mysql running on localhost(127.0.0.1) on 3306 port. I read this and trying to create service a

dynamic column data insert mysql

[![enter image description here][1]][1] the highlighted column needs to be updated with value from other tables which are linked on the basis of value of column

Setting ft_stopword_file back to default (built-in) without restarting MySQL

I need to test something by changing the ft_stopword_file without restarting the server. I know that SET GLOBAL works to change global variables until the next

Mariadb can't be installed on Debian Buster, : post-installation script subprocess returned error exit status 134

I am trying to install Mariadb on Debian but I am getting the error below when I try to install it. Mariadb was actually working for me for a while. I just tr

SQL How to get categories that don't contain products?

SELECT DISTINCT {c2.name} FROM {BrandCategory AS c JOIN CategoryProductRelation AS c2p ON {c.pk} = {c2p.source} JOIN Product AS p

C# MySQL SSL Connection Error when trying to use conn.Open()

For the past 3 days now I have been struggling with an issue with MySQL connector in C#. Basically, I follow the MySQLConnector tutorial to open my connection

how to display binance crypto specific pair price value in flutter UI?

I was working to make a crypto app but I have some issues displaying crypto pairs in UI. I've tried different ways but it's not working. Please can you suggest

Laravel print last executed SQL query with Query log

DB::enableQueryLog(); $mines = Cranks::where([['crank_id', '=', $this->crank_id], ['mine_id', 'like', '%'.$script_value->mine_id.'%'] ])->get(); $query

How to compare elements from an ArrayList with data from a table in MySQL

The idea is I'm making a little restaurant app in Java so in this class is given the option to make an order. It works this way: the user writes which products

SQL iterative loop to see if employee works on all projects

The query I am supposed to form has to accomplish the following task: Retrieve the names of all employees who work on every project. I currently have three t

How do I integrate HubSpot data into a MySQL database automatically?

I have a HubSpot account where my team updates my customers' details in three sheets such as Contacts, activities etc. Now I want to integrate the data availabl

How do I integrate HubSpot data into a MySQL database automatically?

I have a HubSpot account where my team updates my customers' details in three sheets such as Contacts, activities etc. Now I want to integrate the data availabl

Warning: mysqli_stmt::bind_param(): Number of elements in type definition string doesn't match number of bind variables 11 [closed]

My code against SQL injection isn't working (error message in title). I simplified my code, but its still not working. <?php include "con

Formatting MySQL output in online IDE

Test platform Used - HackerRank | MySQL/MSSQL Recently attempted an code assessment for a job post involving SQL questions. I was able to get the correct output

How to gain access back to root (admin) user in MySQL?

I had one admin user with username = root (had admin privileges) and password =admin then i created new user with username =root (have no privileges) and passwo