Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- user = xxxxxxxxxx
- password = xxxx
- dbname = mail
- query = SELECT CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/') FROM users WHERE email='%s'
- hosts = localhost
- mysql> select * from users;
- +-------------+---------------+
- | email | password |
- +-------------+---------------+
- | me@oxez.net | orX1YeXjiuYMA |
- +-------------+---------------+
- 1 row in set (0.00 sec)
- mysql> select * from domains;
- +----------+
- | domain |
- +----------+
- | oxez.net |
- +----------+
- 1 row in set (0.00 sec)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement