+ Reply to Thread
Page 1 of 4
1 2 3 ... LastLast
Results 1 to 5 of 16

Thread: user passwords can be seen in mysql database?

  1. #1
    Cham
    Guest

    user passwords can be seen in mysql database?

    Hello,

    I want to know whether it is possible to recover password of users from mysql Database i have found that passwords are Encrypted! is there any solution?



    Thanks

    Toufique Ahmed Nizamani
    More Information:
    1. Finally, -p tells the mysql client that you will be entering a password to access your database
    2. mysql> drop database test; mysql> use mysql; mysql> delete from db; mysql> delete from user where not (host="localhost" and user="root"); mysql> flush privileges
    3. user;; mysql> SELECT Host, Db, User, Select_priv FROM mysql
    4. Decide which permissions you will have to give to the user on what database
    5. You may make database connections using the username/password combinations you set in the step above
    6. The MySQL database server is very popular for building web applications, it is often used in combination with the PHP language
    7. create a user which has read-only access on all tables in the database called 'test': GRANT SELECT ON test
    8. On a default settings, mysql root user do not need a password to authenticate from localhost
    9. You can directly update a password using the following method to update or change passwords:2) Use the mysql database (type commands at the mysql> prompt): mysql> use mysql; 3) Change password for a user: mysql> update user set password=PASSWORD("newpass") where User='YOUR-USER-NAME';
    10. In addition to performing database administration tasks by logging your MySQL service account

    More:


  2. #2
    bonmatdethuong_2210
    Guest

    no solution as far as i can tell.



    encryption is done to prevent people from knowin the passwords
    More Information:
    1. Having CREATE USER administration rights allows you to create users in the MySQL database
    2. All mysql tasks including setting the root password and creating databases can be done via a graphical interface using phpmyadmin or mysql-admin
    3. Little-tough way of resetting the 'root' user password in MySQL: Start the Apache Server and MySQL instances from the XAMPP control panel
    4. Connecting to the MySQL system database as a root user
    5. Assuming that they've managed to access your user database and list of hashes, there's no way that they can then recover the original passwords
    6. From Unix: shell> mysql -u username -h hostname -p password mysql> SET PASSWORD FOR username@localhost=PASSWORD('new_password'); 2
    7. I'm asking because I have to migrate the user accounts from another database with clear-text passwords

  3. #3
    last_summer1112
    Guest

    thank you for giving fast reply!
    More Information:
    1. If you forget that fact, you are likely to set passwords like this: shell> mysql -u root mysql mysql> INSERT INTO user (Host,User,Password)
    2. What if the password to the database is compromised? Then your entire user password database will be compromised as well
    3. HI, I've hit the grain while trying to import file to mysql database - I need to enable file permissions of the database user but this seems not possible
    4. This is a preliminary notification about an impending change to the passwords for all database users on your (gs) Grid-Service
    5. We are going to create a database called amarok which will be accessible from localhost to user amarok idetified by the password amarok
    6. XAMPP: The MySQL/phpMyAdmin user pma has no password set!!! XAMPP: Do you want to set a password? [yes] yes XAMPP: Password: XAMPP: Password

  4. #4
    phuoctho_nt
    Guest

    If they are encrypted with md5 in most cases this is the way.It is possible to decrypt but it takes some time and it is not legal to learn your members paswords.
    More Information:
    1. AuthMySQLUserTable user_table_name, Name of MySQL Databse table in the database which holds the user name and passwords
    2. mysql> insert into -> user (host, user, password) -> values('localhost','djg',password('mypassword'));
    3. When storing passwords using AES, you should actually use a known phrase as the plaintext value, and the user's password as the key
    4. 7 posts - 3 authors - Last post: Jan 14MySQL stores usernames and passwords in the user table inside the MySQL database
    5. Connect to the local database server as user root # You will be prompted for a password
    6. If all goes well you have set up a user and database with MySQL

  5. #5
    kitara2610
    Guest

    hmm! you are right but if in genuine situation where you need password then what to do!?
    More Information:
    1. By running the database in a chrooted environment, disabling listening on 3306/tcp port and applying strong passwords to users' accounts we can make
    2. My solution was to change the password for the debian-sys-maint mysql user (I did it in phpmyadmin) and to put the new password (in plaintext) in the
    3. 11 posts - 5 authors - Last post: Aug 23, 2004Is encryption necessary? encrypting passwords with mysql/php
    4. Don't put passwords for mysql into scripts which may be read by any user on the machine
    5. <title>Add New MySQL User</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>
    6. For the user molly to change her password to TrckTrt, she would run this command from the shell: mysqladmin -u molly -p password TrckTrt The m
    7. This next step will reset the passwords for all root users
    8. mysql> INSERT INTO user (Host,User,Password) -> VALUES('server

+ Reply to Thread
Page 1 of 4
1 2 3 ... LastLast

Similar Threads

  1. Two sites using the same forum database user list
    I know it's possible for TWO different sites to use the same database. Let me explain. I have siteA and it runs a forum. Through the site,...
  2. One MYSQL database over many sites?
    When setting up a site, I find all getting into the host, setting up a database, and all that a drag. Instead of using each hosts database, would...
  3. Moving a mySQL database
    One of my old hosts basically wooed me back to put my database driven sites with them with a lot of new features.. The only problem is that one of my...
  4. backing up your MySQL database?
    How do I properly back up and name mySQL database created from a wordpress blog? There must be at least 100 other people who have this question...
  5. Moving mysql database help?
    Anyone good in MySQL? I am trying to move a database from one host to another today and having major issues (meaning I'm an idiot I think). ...

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Welsh Yiddish