Posts by Carlos Cariello • 81 points
6 posts
-
0
votes2
answers6052
viewsA: How to access another machine’s database
Can you connect to Mysql from your own host? If not, see if it’s running. sudo service mysql status If the status is 'active', check that the /etc/mysql/my.cnf file contains the bind-address line…
-
0
votes3
answers754
viewsA: Join objects within collection of different objects
OK.. I think I understand what you need. Where you wrote: void imprimir(){ for(int i = 0; i < qtdProvas; i++){ provas[i].mostrarProva(); for(int j=0;j < qtdQuest;j++) {…
-
0
votes1
answer37
viewsA: Prioritize keywords found in the title in the sql search
This subject may be far more complex than it appears to be.. The relevant search, so to speak. But to answer your question more directly, I would suggest using the UNION clause . SELECT *…
-
0
votes2
answers120
viewsA: Collecting data from an array
Suggestion: Set objects and their properties first. The team: package stackoverflow; import java.util.Objects; public class Team { private String name; public Team(String name) { this.name = name; }…
-
2
votes1
answer272
viewsA: How to insert only elements that do not exist?
Which of the primary keys in your "Alarm" table? It defines whether your records are duplicated. This part is essential. From there, you can do the insertion in several ways: INSERT IGNORE INTO ...…
-
3
votes1
answer95
viewsA: Highcharts: Visible does not work
This property is only valid from version 4.1.9, according to information from Highcharts - mentioned above Works with the latest version: http://jsfiddle.net/carloscariello2/1t0k2nf5/1/ , but not…