Questions tagged as 'mysql'

0
answers

registration procedure with error in if chained

I made this procedure to make user registration, I made an inquiry to know if that field had already been registered, to do the insertion of the data in the table I had the idea of doing a chained if that refers to all the fields and in the end...
asked by 20.05.2018 / 23:39
0
answers

Search without refresh by select

Good evening ... I would like to know how I search through a select and checkbox , as in the webmotors website ... I searched the internet but did not find anything like this ... Does anyone know something like this?     
asked by 21.05.2018 / 00:12
0
answers

Show when there is no search result in the database

In the SQL query, if no return result is to appear a "No results found" message. OK, when you search, find a result and when it does not have it shows the message - so far so good. The problem is that at the time of opening the document, the tex...
asked by 20.05.2018 / 20:18
0
answers

Error trying to install mySQL-Connector-Python

I have installed Python version 3.6.5, and I decided to install "mysql-connector-python-8.0.11-py3.6", but it returns an error that does not find such version installed, do I specifically need of version 3.6.5 of mysql to run?     
asked by 23.05.2018 / 02:56
0
answers

Delete orphaned files

I have a content management system that I use on my car shop site, it has 3 tables that are dependent, Shop, Cars, and Cars. When registering a store, I add a car and several photos of that car, all in their corresponding tables, but I notice...
asked by 23.05.2018 / 05:52
1
answer

Search merge Laravel

I have the function in my controller: public function pesquisa(Request $request) { if (! Gate::allows('celular')) { return abort(401); } $marcas = CelularMarca::orderBy('nome', 'asc')->pluck('nome','...
asked by 15.05.2018 / 19:20
0
answers

ho to first query the database and build the form in the page, based on the retrieved json string

$(document).ready(function(){ load_data(); function load_data(query) { $.ajax({ url:"fetch.php", method:"GET", data:{query:query}, success:function(data) { $('#result').html(data); } }); }...
asked by 13.05.2018 / 23:29
2
answers

Concatenate variable with id searched by Javascript

Hello I have a code for autocomplete here that is giving me a bit of a headache. My code consists of a foreach that generates a line to each record found, each line generates a button that calls a modal, I put in the line that calls the mo...
asked by 19.05.2018 / 04:57
0
answers

org.hibernate.exception.JDBCConnectionException: Could not open connection

I'm having trouble losing connection to the MySQL database, which occurs after a few minutes of use. Please, could anyone help me? I have no idea what it can be. Here are my codes: hibernate.cfg.xml <property name="hibernate.conn...
asked by 18.05.2018 / 22:17
1
answer

group records with the same value as a column

I have a table called stores , this table has: ..., store_name and store_category, example: nome_loja | loja_categoria -------------------------- loja1 | roupas loja2 | brinquedos loja3 | roupas What I would like to do is to...
asked by 11.05.2018 / 19:37