[ https://jira.fiware.org/browse/HELP-9506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fernando Lopez updated HELP-9506:
---------------------------------
HD-Chapter: Apps
HD-Enabler: Wirecloud
> [fiware-stackoverflow] Access to sql Fiware
> -------------------------------------------
>
> Key: HELP-9506
> URL: https://jira.fiware.org/browse/HELP-9506
> Project: Help-Desk
> Issue Type: Monitor
> Components: FIWARE-LAB-HELP
> Reporter: Backlog Manager
> Assignee: Álvaro Arranz
> Labels: fiware, fiware-cygnus, fiware-wirecloud
>
> Created question in FIWARE Q/A platform on 06-06-2017 at 13:06
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/44388213/access-to-sql-fiware
> +Question:+
> Access to sql Fiware
> +Description:+
> I have a problem with sql access from the fiwarelab machine.
> I have duplicate the same as in fiwarelab in local, by code I have designed a graph to show the sql data.
> As I said in local if I work correctly, but when I make the query to the machine of fiwarelab I can not show the graphs, nor the errors that I have programmed for a bad connection.
> I'm somewhat lost with the fiwarelab theme
> Do I have to open the ports or change some configuration of sql?
> This is one of my codes:
> function conectarBD(){
> $server = "localhost";
> $usuario = "root";
> $pass = "";
> $BD = "ual";
> //variable que guarda la conexión de la base de datos
> $conexion = mysqli_connect($server, $usuario, $pass, $BD);
> //Comprobamos si la conexión ha tenido exito
> if(!$conexion){
> echo 'Ha sucedido un error inexperado en la conexion de la base de datos<br>';
> }
> //devolvemos el objeto de conexión para usarlo en las consultas
> return $conexion;
> }
> Greetings and thank you.
--
This message was sent by Atlassian JIRA
(v6.4.1#64016)
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy