Questions tagged as 'mysql'

1
answer

INSERT WITH JOIN DUPLICATING DATA

Hello, I have these 3 tables in my database: Table colaboradores Table cursos Table c_vendas_itens I would like to do a join of the three tables and save to another one, I can do this through the query below, however every time I have a new...
asked by 02.01.2019 / 03:19
3
answers

How to execute a code when clicking on a link? [closed]

I am creating a website that will have a login system. By logging into the site, you will have several products inside, one next to the other ... Each product will have its value, and each user will have a credit to spend on the site ... W...
asked by 30.01.2014 / 11:30
1
answer

C # MySQL connection thread-safe

I have a server that receives hundreds of asynchronous connections and needs to implement MySQL access to different threads. Actually, as I use the Async Socket Begin / End standard of .Net, there is a thread pool, so it is not 1 thread for each...
asked by 01.07.2014 / 21:33
1
answer

How to create the mysql.socket file

I am using phpmyadmin because it is returning me an error that refers to the lack of mysql.sock , is there a possibility of installing this file? Error reported below:    error 2002: file not found     
asked by 03.07.2014 / 16:19
1
answer

I am trying to connect to mysql in php? [closed]

Good afternoon I am trying to connect mysql to php, as it is generating the following error "Call to undefined function mysql_conect ()", someone please help me     
asked by 01.07.2014 / 22:16
1
answer

Doubt on MYSQL + Delphi Code

Follow the code: DModuleGrid.qtudo.close; DModuleGrid.qtudo.sql.clear; DModuleGrid.qtudo.sql.add('select numcupom from tabc460 where cderr <:mc'); DModuleGrid.qtudo.parambyname('mc').asinteger := 0; DModuleGrid.qtudo.open; if D...
asked by 02.07.2014 / 13:41
1
answer

Relationship of products in models and bank

I'll try to be brief in my doubt. How can I model a class scheme that suits me in some things: This is all going to be done in rails 4.1, using ActiveRecord as ORM acting on MySQL. I will have a Person entity that will have a refere...
asked by 02.07.2014 / 04:47
0
answers

Connection between two docker containers

I created 3 containers to start my application, they are: version: "2" services: mysql: image: mysql:5.7 container_name: rgsistema-mysql working_dir: /application volumes: - .:/application environment: - MYSQL_ROOT_PASSWORD...
asked by 29.12.2018 / 20:19
1
answer

Trigger Mysql from one base to another

I'm trying to create a trigger in Mysql where I need to update a table (I'll call tb1) depending on the situation field, delete a record in another database from a table.    Base 1 = B1   Table 1 = Tb1   Base 2 = B2   Table 2 = Tb2 - trig...
asked by 04.01.2019 / 13:53
0
answers

PHP and Javascript - Responsive site - Problems with SELECT and INPUT

I'm making changes to a client's site, making it responsive. I had to make several layout changes that were sent to me by a vendor and because of these changes some Javascript and PHP functions I had do not work in the new layout. In one of t...
asked by 20.12.2018 / 12:55