Questions tagged as 'mysql'

0
answers

How to move users from all devices?

I'm working on an application and this doubt came to me while I was doing some tests, where I made some changes, like the password change, on the computer but my user remained logged in on the phone. Or as some other services do (stackoverflow,...
asked by 26.09.2016 / 16:49
1
answer

How to check if a ResultSet is empty?

I am doing a query in MySQL and when the query exists it returns the values of good. But here's the question, what value does ResultSet receive when the search does not exist? Type searched for a name in the records of the table if tha...
asked by 11.09.2016 / 21:50
1
answer

Insert an ID in SQL + PHP

I am making a form where the user inserts the data and the same one receives the confirmation along with an ID record in php with sql, I am just not getting this final confirmation along with the id, can anyone help me? I know that mysql is l...
asked by 09.09.2016 / 15:50
1
answer

Merging notifications

I want to make a system of notifications that group together when they are the same type, as those of Facebook. For now I have the table with the following columns: user_id (person receiving notification), icon (Generally the profile p...
asked by 11.09.2016 / 23:11
1
answer

Error Connection mysql and android

I'm developing an app that needs to have an external connection and I'm having a problem running, how could I fix this? Follow the code: import java.sql.DriverManager; import java.sql.SQLException; import com.mysql.jdbc.Driver; import com.m...
asked by 27.09.2016 / 20:26
0
answers

Mysql does not save configuration

Good morning. I use MySQL version 5.5.20 on a WAMP server. I have a SQL statement that needs a little more memory than it has been set by default, to return the data. So I increased the value of max_allowed_packet to the size I need...
asked by 29.09.2016 / 15:57
1
answer

Selecting multiple fields from a table with a search term

I tried to follow some steps that I found here in the forum but did not give certain ... I have this code here in Model made in codeigniter: // buscando clientes $this->db->like('nomeCliente',$termo); $this->db->limit...
asked by 02.09.2016 / 20:43
1
answer

Connect Visual Studio to the database [closed]

Hello, I am trying to connect my project in Visual Basic, in Visual Studio, with my MySQL database, it presents the error below, could someone tell me how to solve this problem? I have already installed mysql odbc. An unhandled exception of typ...
asked by 24.08.2016 / 01:48
0
answers

How to know the index number in a multidimensional array? [closed]

Information: Rooms: 25; Teachers: 4; Q02, Q03, Q04: A student in a class ranked the teacher from 0 to 10. From these numbers, an average was generated. There is a select with the list of teachers, and when one is selected, I need to displa...
asked by 21.09.2016 / 17:28
0
answers

How to create a dynamic query with Left Join?

How can I make this query dynamic, it is already working only that it only lists one semester of each year and wanted it to list two, type when I select the first it lists the first and when I request the second it lists the second. public f...
asked by 29.08.2016 / 13:43