Questions tagged as 'mysql'

0
answers

Capture data with Javascript in a modal

Friends like that, I need your help, recently I venture into php. I would like to capture data in a modal. I generate a table with data from the database with some buttons, by clicking on those buttons I open a modal. I would like to captu...
asked by 20.06.2018 / 15:08
0
answers

how to import excel data into 3 tables?

I happen to have 3 tables which are: person: person_id (int), person (string), document (int). animals: id (int), id_person, id_eps, pet (string), age (int). eps: id_eps (int), name (string), cod_eps (int) The fact is that the...
asked by 23.05.2018 / 22:14
1
answer

JSP registration in MySQL

I am trying to make a form using JSP and insert the values using MySQL. The problem I have is that if someone tries to register and the user exists tell me: "The user already exists". It does not work for me, I do not know, but somehow it does n...
asked by 23.05.2018 / 22:52
0
answers

Update stock with trigger

I have 2 tables, a "Products" table composed of the following CREATE TABLE PRODUCTS ( id_product BIGINT(10) UNSIGNED AUTO_INCREMENT PRIMARY KEY, code VARCHAR(6) NOT NULL UNIQUE, name VARCHAR(30) NOT NULL, price FLOAT(6,2) UNSIG...
asked by 22.05.2018 / 23:02
0
answers

JSP problems using cp1252

Exceptions occurred while formatting documents Exception occurred while formatting document /armarios/WebContent/css/material.css Some characters can not be mapped using "Cp1252" character encoding. Either change the encoding or remove the chara...
asked by 22.05.2018 / 22:07
0
answers

ERROR 1290: the mysql server is running with the --skip-grant-tables option so it can not execute this statement

I try to create a new user for the database but it throws me the error of the image.     
asked by 22.05.2018 / 20:40
0
answers

golang gin web framework, invalid memory address or nil pointer dereference

I'm doing tests with gin and gorm , I have the following program: package main import ( "fmt" "github.com/gin-gonic/gin" "github.com/jinzhu/gorm" _ "github.com/jinzhu/gorm/dialects/mysql" ) var db *gorm.DB var err error t...
asked by 22.05.2018 / 21:22
0
answers

HELP ERROR: java.sql.SQLException: Column count does not match value count at row 1

Thanks to friend Ivan Clavijos for helping me earlier, now another error comes out but this time I do not know why it comes out: May 22, 2018 4:49:21 PM windows.inscriptions btn_guardarActionPerformed SERIOUS: null java.sql.SQLException: Column...
asked by 22.05.2018 / 21:29
0
answers

Error connector Mysql with mariadb OX

I have Conflicts with when installing pip install Mysql-python it seems that the error is the connector with mariadb and I use the following:    Virtualenv    Python 2.7    Homebrew - > contains mariabd    macO...
asked by 23.05.2018 / 16:52
0
answers

Can an event show a message?

Hello my problem is that I do not know if it is possible to show a message through an EVENT of MySQL since the only way that I see is that the message is saved in a specific table for that message but I can not show it in the table with the even...
asked by 24.05.2018 / 22:34