How to enter the database of this webpage $ sqlurl = "211.149.247.151 ";//
$ Sqlname = "suji ";//
$ Sqlusername = "suji ";//
$ Sqlpassword = "mars99 ";//
$ Sqllit = mysql_connect ($ sqlurl, $ sqlusername, $ sqlpassword );//
If (! $ Sqlbench)
{
Die ('could not connect: '. mysql_error ());//
}
Mysql_query ("set names UTF8 ");//
Mysql_select_db ("suji", $ sql1 );//
$ Result = mysql_query ("SELECT * FROM passlist ");//
Echo "passlist:
";//
While ($ word = mysql_fetch_array ($ result ))//?
{
Echo $ word ['passname']; //
}
Mysql_close ($ sql1 );//
Reply to discussion (solution)
Online. Hope you can help me. thank you.
Open the terminal and enter mysql-u suji-p-h 211.149.247.151.
Enter mars99
Upstairs !!!!!!!!!
Open the terminal and enter mysql-u suji-p-h 211.149.247.151.
Enter mars99
Where is the terminal? Sorry. I'm Tom.
Your code is fine, but remote access to the database requires database authorization.
Your code is fine, but remote access to the database requires database authorization.
11.149.247.151
Is this input into the database?
What does it mean? The database address is what the database administrator told you. you cannot define it yourself.
What does it mean? The database address is what the database administrator told you. you cannot define it yourself.
Http://www.onevisa.com.cn/test.php
I don't know how to bring my name to his database.
The ip address of www.onevisa.com.cn is 211.149.247.151.
If $ sqlurl = "211.149.247.151" cannot be used
$ Sqlurl = "localhost ";
Are you sure MySQL is available?
Weak: Do you need the $ sqlname parameter?
Open the terminal and enter mysql-u suji-p-h 211.149.247.151.
Enter mars99
Where is the terminal? Sorry. I'm Tom.
The terminal is the command line... Cmd...