PROBLEMA Errore query sql

Pubblicità

lucaamoriello

Nuovo Utente
Messaggi
70
Reazioni
0
Punteggio
28
Ho bisogno di inserire un nuovo utente nella tabella "utenti" del mio database e sto provando a farlo inserendo questa query:
INSERT INTO utenti(utente, nome, pswd) VALUES('Access', 'admin', MD5('windows8')

Queste sono le tabelle contenute nel database
Immagidsne.webp

E questa è la tabella "utenti".
Immagifdfsdne.webp

Ho provato ad inserire la password criptata in MD5 ma l'errore è lo stesso. Cosa c'è di sbagliato nella query?


Errore

query SQL:
INSERT INTO utenti( utente, nome, pswd )
VALUES (

'Access', 'admin', MD5( 'windows8' )Messaggio di MySQL:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
 
Ciao,

Forse hai dimenticato di chiudere l'ultima parentesi? :)

INSERT INTO utenti(utente, nome, pswd) VALUES('Access', 'admin', MD5('windows8'))
 
Pubblicità
Pubblicità
Indietro
Top