Category "mysql"

Mysql error message:"#1044 - Access denied for user 'root'@'localhost' to database 'information_schema' " when trying to delete a table view

I would like to know how to handle this error error "#1044 - Access denied for user 'root'@'localhost' to database 'information_schema' " in order to delete a t

CONCAT columns with Laravel 5 eloquent

Consider me as laravel beginner The goal is: I have two colums, now I need the id to be prefixed with the component name of same row in the table. For Exampl

EF6:Parent context null inside same child query

My database contains below table in parent child relationships:- Gender->Audit->Request(All are in 1:N Relationships) I want to fetch all Genders with cor

Flutter login page authentication using mysql

I am trying to connect my login page so that it fetches data from my users table in mysql and logs the user in but I am having some problems with my code Futu

How to connect MySQL database to ReactJS app?

I have build a Todo App with create-react-app. The store I'm using is based on Local Storage(JS attribute of object window). Now I created a MySQL databases and

Convert php and mysql web application into offline desktop application

I have made a web application with php and mysql in wamp server. Now i want to convert it into desktop application for windows platform which will run offline a

I want to display a sweetalert after the inserting of data in my database

This is my php code of inserting data in mysql and displaying sweetalert after insertion but the sweetalert is not displayed. <?php if(isset($_POS

PHP password_verify

I am working on making a login section for my project website using PHP, but for some reason, verify_password won't return true, even when I am giving the corre

phpmyadmin exports an .sql file that contains html

I want to export my database from phpMyAdmin to import it to another server. I go through the steps explained here and here but all I get is a 50kb .sql file th

Returning ResultSet without close?

I would like to have a database connection managing class which I can use for simple SQL commands like SELECT, INSERT etc. by simple calling something like this

Laravel/ PHP: Order By Alphabetical with numbers in order [duplicate]

When ordering things by Alphabetical Order, I'm left with this: S1 Episode 1 S1 Episode 11 S1 Episode 12 S1 Episode 2 S1 Episode 3 S2 Episod

MySQL Query in Discord.js returns "unkown"

I've improved my code a lot over the past few days but I'm finally stuck. My query is returning "unknown". I've attached the code and a screenshot of the databa

Can't open the mysql.plugin table. Please run mysql_upgrade to create it

I have downloaded mysql ZIP from here https://dev.mysql.com/downloads/file/?id=467269 Then extracted it, renamed my-default.ini to my.ini, set basedir = D:\A

Create a user defined function that works with GROUP BY in mysql

I'm trying to create an aggregated function MEDIAN() in MySQL like MIN(), MAX(), AVG() which takes the input the column name or string that has concatenated val

Why is the database of the webapp in the book "Head First Python 2nd Edition" not working as it should?

I'm currently studying Python by reading the book "Head First Python 2nd Edition" and it is really helpful and well-written, but I think it is a little anachron

Convert seconds to days, hours, minutes, seconds (MySQL)

Example: seconds ="1015557"; Result should be: 11days 18h:05m:57s How can do this in MySQL?

PHP PDO using bindParam first argument without colon [duplicate]

check this please $user_id = (int)$_GET['user_id']; $sql = 'DELETE FROM users WHERE user_id=:user_id'; $query = $db->prepare($sql);

How To Fetch data in Python from mysql database [duplicate]

I am new to python and i am facing problem while fetching data from mysql db while i am passing parameters in mysql query i think my mysql syn

MariaDB - Replication. Slave Lagging Behind For an Interval

So I have 1 Master Server and 2 Slave servers running (CentOS-7). I have installed MariaDB-10.1.48 on all the servers. I implemented replication using GTID. All

which jdbc (connector/j) to install for mac os

I'm trying to download jdbc connector, but I cannot find mac os from the selection options from the link below: https://dev.mysql.com/downloads/connector/j/ W