Questions tagged as 'mysql'

1
answer

Change text color of the headerTCPDF

Good morning, colleagues, I need help How can I change the header color of the following report generated by TCPDF ?, I am using Codeigniter and I can not change the default color of the TCPDF header text, I appreciate your kind help, greeting....
asked by 18.05.2018 / 21:25
0
answers

# 1251 - Client does not support authentication protocol requested by server; consider upgrading MySQL client

After installing mysqlserver 5.7.22 on a server with Centos 6.9 and php 5.4 and installing phpmyadmin when I try to enter phpMyAdmin I receive this error despite being able to use this user to enter mysql and have configured this user in / etc /...
asked by 16.05.2018 / 13:18
0
answers

How can I save the time on my BD?

This is my form which I have a variable time that is synchronized with the PC time what I want to be able to record the time on my BD the problem is that it is not saving. formato.php <!DOCTYPE html> <html> <head> &l...
asked by 17.05.2018 / 12:37
2
answers

How do I create an IF condition in case my insertion of data in the database is incorrect?

I am working on an insertion of data from a formative php to a database (mysql), I want the code to warn me or show an error message in 'echo' in case the query variable $ Result throw an error PHP-HTML CODE <?php $con=mysqli...
asked by 22.05.2018 / 17:14
0
answers

Save .csv file in MySQL

I need to save a .csv file in MySQL with the following format: 9044;2018/10/05 The table in the database is as follows: id_criptomoneda; precio_dolar; fecha And I execute the following command with the related id of another tabl...
asked by 15.05.2018 / 17:28
2
answers

ResultSet error "Can not find symbol"

I recently worked with a code that connects to a database in mysql. Its functionality is to insert data to the previously created table and then with a button to give functionality to empty TxtField in Jframe to refill. The error is shown to...
asked by 15.05.2018 / 06:17
0
answers

ImportError: No module named 'ConfigParser'

I installed pip. And now I try to install MySQL and it returns this. How could I fix this? I do not know how to do it. (myproject) pi@raspberrypi:~ $ pip install MySQL-python Collecting MySQL-python Using cached https://files.pythonho...
asked by 15.05.2018 / 06:28
1
answer

Arrays in checkbox value php mysql

I have the following code: <thead> <tr> <th data-toggle="true"> Usuario </th> <?php $consulta="SELECT * FROM etapas_lab WHERE id_cliente = '$id_us'"; $ejecutar_consulta = $conexion->query($consu...
asked by 18.05.2018 / 18:27
0
answers

Search for a text in mysql with accents

how about I have a table "courses" and a web browser in php the table is in utf8_general_ci, the web in utf8 In the table they are saved with an accent, that is, if I search for "technical", results appear, but if I search for "technical",...
asked by 21.05.2018 / 21:42
1
answer

Java Mysql Error in a field

It does not let me change the default value of a field in the database that I have to use to do a job even if it is root, and above it gives me an error that a field has no default value, what do I do? num_emp1.setText("" + rs.getDouble("num_e...
asked by 14.05.2018 / 07:59