× Benvenuti sul nostro forum su Sint Wind PI!

Postate qui domande o segnalate problemi / bug che riscontrate,

file Problema su mysql

More
10 years 8 months ago #1514 by maclion
Problema su mysql was created by maclion
Ciao a tutti,

non riesco proprio ad uscirne.

Installato e configurato mysql:

ma nel momento in cui faccio una prova:
php swpi_dashboard.php
mi da questo errore:

PHP Warning: mysql_connect(): Can't connect to MySQL server on '192.168.178.53' (4) in /var/www/swpi_dashboard.php on line 4
PHP Warning: mysql_select_db(): Access denied for user 'root'@'localhost' (using password: NO) in /var/www/swpi_dashboard.php on line 5
PHP Warning: mysql_select_db(): A link to the server could not be established in /var/www/swpi_dashboard.php on line 5
Could not connect: Access denied for user 'root'@'localhost' (using password: NO)root@swpi:/var/www#

questo è il cat del file config.php

<?php
$server = "192.168.178.53";
$user = "beppe";
$pwd = "12345678";
$db = "SWPIDB";
$swpipwd = "admin";

ho dato tutti i privilegi allo user beppe:

GRANT ALL PRIVILEGES ON *.* TO 'beppe'@'%' WITH GRANT OPTION;

ma nulla.

avete per favore dei suggerimenti?

grazie 1k

Please Log in to join the conversation.

More
10 years 8 months ago #1515 by tony
Replied by tony on topic Problema su mysql
Come mai hai installato mysql in locale ?

Poi ti consiglio di usare la versione html della dashboard che è quella che uso anche io ed è sicuramente più aggiornata della versione php.

Nei prossimi aggiornamenti la versione php scomparirà del tutto.

TT

Please Log in to join the conversation.

More
10 years 8 months ago #1516 by maclion
Replied by maclion on topic Problema su mysql
si ho installato tutto in locale peraltro seguendo la guida "SWPILAMP.pdf"

ma nullaaaaaa

Please Log in to join the conversation.

More
10 years 8 months ago #1517 by maclion
Replied by maclion on topic Problema su mysql
l'ho installato in locale per comodità e avere in un solo punto tutto.

Please Log in to join the conversation.

More
10 years 8 months ago #1518 by tony
Replied by tony on topic Problema su mysql
Bhe .. quella è una guida "personale" per un tipo particolare di installazione dove la Rasbperry fà anche da server. Non fà parte del progetto "standard" nel quale la parte server viene gestita da un provider web ( aruba,altervista .. ) .
Se scegli quella strada dovrai farti molte ottimizzazioni che ora non ci sono .

Please Log in to join the conversation.

More
10 years 8 months ago #1519 by maclion
Replied by maclion on topic Problema su mysql
ok grazie lo stesso.

ci provo

Please Log in to join the conversation.

Time to create page: 0.962 seconds