Sql help: not able to change

Started on the old forum in April 2012 · view the original in the archive · old links redirect here

7 replies · 457 views · started 14 years ago · 1 min read

3 participants
WapAdda Junior · 25 posts #1
mysql_query($query);
$query="CREATE TABLE `tusers` (`id` int(10) NOT NULL auto_increment,`name` varchar(30) NOT NULL default '',`pass` varchar(60) NOT NULL default '',`email` varchar(200) NOT NULL default '',`admin` int(5) NOT NULL default '0',`banned` int(5) NOT NULL default '0',PRIMARY KEY  (`id`),UNIQUE KEY `name` (`name`)) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=7 ;";
$r=mysql_query($query);
if (!$r) {echo("Error!! CREATE TABLE \"tusers\"<br/>\r\n");}
$query="INSERT INTO `tusers` VALUES (1, 'metal', '86094b61cb9f63b77f982ceae03e95f0', 'metal', 1, 0);";
mysql_query($query);

i can't change tusers metal name and metal password. And don't know what's this ( 86094b61cb9f63b77f982ceae03e95f0 ) please help me.

something else Fellow · 2,296 posts #2

WapAdda wrote:

mysql_query($query);
$query="CREATE TABLE `tusers` (`id` int(10) NOT NULL auto_increment,`name` varchar(30) NOT NULL default '',`pass` varchar(60) NOT NULL default '',`email` varchar(200) NOT NULL default '',`admin` int(5) NOT NULL default '0',`banned` int(5) NOT NULL default '0',PRIMARY KEY  (`id`),UNIQUE KEY `name` (`name`)) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=7 ;";
$r=mysql_query($query);
if (!$r) {echo("Error!! CREATE TABLE \"tusers\"<br/>\r\n");}
$query="INSERT INTO `tusers` VALUES (1, 'metal', '86094b61cb9f63b77f982ceae03e95f0', 'metal', 1, 0);";
mysql_query($query);

i can't change tusers metal name and metal password. And don't know what's this ( 86094b61cb9f63b77f982ceae03e95f0 ) please help me.

just change the name metal to your name? 86094b61cb9f63b77f982ceae03e95f0 is md5 password "metal"

WapAdda Junior · 25 posts #3

something else wrote: just change the name metal to your name? 86094b61cb9f63b77f982ceae03e95f0 is md5 password "metal"

ok, i change the name metal to my name. But how change password? What's the md5? Please tell me.

something else Fellow · 2,296 posts #4
mysql_query($query); 
$query="CREATE TABLE `tusers` (`id` int(10) NOT NULL auto_increment,`name` varchar(30) NOT NULL default '',`pass` varchar(60) NOT NULL default '',`email` varchar(200) NOT NULL default '',`admin` int(5) NOT NULL default '0',`banned` int(5) NOT NULL default '0',PRIMARY KEY  (`id`),UNIQUE KEY `name` (`name`)) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=7 ;"; 
$r=mysql_query($query); 
if (!$r) {echo("Error!! CREATE TABLE \"tusers\"<br/>\r\n");} 
$query="INSERT INTO `tusers` VALUES (1, 'metal', '".md5('your pass')."', 'metal', 1, 0);"; 
mysql_query($query); 
WapAdda Junior · 25 posts #5

Thank you sir. Now im done. But you tell me what's md5?

KingofKingZ Junior · 20 posts #7

how to delete tables and rows? i don't know how to say that i used zedge script. i asked my friend to install it for me but later i deleted the whole public_html folder. i also deleted database user and database password. i can still see files related in phpmyadmin ! how can i reset or delete previously uploaded sql file ??????????

something else Fellow · 2,296 posts #8

login to your database .... select the table(s) you want to delete and then select DROP table 🙂

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close