Jump to content
  • 0

Extremys

Question

Problema intalnita (descriere):Am inceput sa invat si mysql si am inceput cu urcarea pe host, am facut tot dar cand intru pe sv si scriu parola la logfare zica ca nu e corecta
Ero(area / rile) / warning-(ul / urile):

Citat

Aici aveti mysql_log:

[00:19:57] [ERROR] CMySQLConnection::Connect - (error #1045) Access denied for user 'flaviu'@'188.212.102.10' (using password: YES)
[00:19:57] [ERROR] CMySQLConnection::Connect - (error #1045) Access denied for user 'flaviu'@'188.212.102.10' (using password: YES)
[00:19:57] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[00:19:57] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[00:19:57] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[00:19:57] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[00:19:57] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[00:19:57] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[00:19:57] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[00:19:57] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[00:19:57] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[00:19:57] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[00:19:57] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away


Liniile de cod / sursa / script-ul(obligatoriu):-
Imagini / Video (optional):-
Ati incercat sa rezolvati singur?: Deavea invat mysql, asa ca nu fiti rai!!

giphy.gif

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Aici ai și rezolvarea

 

[00:19:57] [ERROR] CMySQLConnection::Connect - (error #1045) Access denied for user 'flaviu'@'188.212.102.10' (using password: YES)
[00:19:57] [ERROR] CMySQLConnection::Connect - (error #1045) Access denied for user 'flaviu'@'188.212.102.10' (using password: YES)

In traducere - Goguleț am incercat să mă conectez la baza de date dar ceva imi dă eroare (Nu sunt bune datele)

Link to comment
Share on other sites

  • 0
#define                                                         host            "localhost"
#define                                                         user            "root"
#define                                                         pass          	""
#define                                                         data            "sqlbase"

Chestiile astea sunt pentru localhost(deschizi din pc). 

Pentru host ar trebui sa arate cam asa:

#define                                             			SQL_Host    	"69.420.1337.69ip-ulpecareti-ldahostul"
#define                                                 		SQL_User    	"pesmocar_userpecareti-ldahostul"
#define                                                 		SQL_Pass    	"parolagreaftwpecareti-odahostul"
#define                                                 		SQL_DB      	"bazadedatepecareti-odahostul"

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.