Questions tagged as 'mysql'

0
answers

Replication does not work

In my configured replication, the Slave does not execute the Master statements and also ignores the tables and the database that I specified. I'm using MySql 5.5 Follows the file my.cnf server-id = 3...
asked by 30.11.2017 / 14:28
1
answer

DataGridView loads the data but does not display it

I have a DataGridView , it loads the data but does not display them. private void AtualizarGrid() { //Procura no banco os registro digitado na caixa de pesquisa. AlunoDAL alunoDAL = new AlunoDAL(); //Exibi no Grid os nomes pesqui...
asked by 30.11.2017 / 02:22
1
answer

Import featured images without having to download them. - WORDPRESS

I've been working on a site that has been around since 2001. I would like to export only your (posts + featured images) from 2015 backwards, but I do not need to download the images so I imagine everything is by database. The default expor...
asked by 27.11.2017 / 20:06
1
answer

problem connecting to database [duplicate]

Warning: mysqli_select_db () expects parameter 1 to be mysqli, string given in C: \ xampp \ htdocs \ lojavirtual \ connect.php on line 3 Could not connect     
asked by 27.11.2017 / 04:43
1
answer

Update database

Then I have a modal that shows the data of the number that was searched, I want to click on the edit button of the modal release the inputs: official, rca and region to be able to write inside these inputs and also the save button to perform the...
asked by 27.11.2017 / 18:07
1
answer

Ajax to make select in bank does not work on new line

I am having difficulty in the following situation, when generating a new row of the table my Ajax code to make a select in the bank does not work. Follow the image below to clarify any doubts: Page:<divclass="form-group"> <label...
asked by 26.11.2017 / 17:28
1
answer

Only the first row of a PHP PivotTable is written to the MySQL Bank

Only the first row of the table is writing to the database, I assume that the problem is in the foreach ( $_POST['data'] as $key => $value) loop. Clicking the "Add" button will insert a new row from the table via JS, in the database an...
asked by 26.11.2017 / 20:20
0
answers

How to manipulate curtime values

Hello, I need to make a comparison between a time that is saved in a table and the current time of the database, I am using curtime (), but in the hosting I am using the time is 2 hours ahead, and I can not change, how can I do that?     
asked by 27.11.2017 / 13:52
0
answers

Changing PHP URL

Personal I have a paging system that on every page it pulls a content from the database. In this case it pulls the id "ID of every element of my database", I'm trying to change it so that it takes the "Name" field from my database but I can n...
asked by 10.12.2017 / 20:00
0
answers

Refresh table field even if entry is equal to defined

I have a table in the database and I am normally performing insert, delete, update, select operations. During a test I ran an update of a field with the same information that is defined in the database and generated a failure. Is there any way t...
asked by 25.11.2017 / 02:19