Jump to content

PHPmyAdmin Question


ben_1uk

Recommended Posts

Hello everyone,

 

Firstly, apologies if this has not been posted in the correct forum!

 

I have a database containing details of visitors to our website who have registered an account. Upon registering for an account, they are first required to activate the account via a link contained within an E-mail. However, I have noticed there are an awful lot of accounts that have not been activated - presumably because they have not received the E-mail.

 

Upon logging into PHPmyAdmin, I have a 'prune' option, which appears to allow me to verify user's registration attempts manually if they have not been authorised by users themselves via Email. The option to 'prune' covers inactive accounts going back as far as 1 month.

 

I am a complete noob when it comes to working with database driven websites and wondered if there was any reason why I should NOT use the 'prune' option to verify these inactive accounts, i.e. in case of any spurious addresses, etc.

 

Thanks in advance.

 

Ben_1uk

Link to comment
Share on other sites

Wait... Prune option? You should be give us more information about this "option". Can you paste here some screenshot?

I dont know some "prune option" in PHPMyAdmin, but, this function can be some function created for any database admin of your website.

 

Please, give more information about this option.

Link to comment
Share on other sites

  • 2 weeks later...

I think the reason there are so many inactive accounts is down to the emails landing in people's junk email. I have added a note advising people to add the email address used by the system to their list of 'safe senders' if they're experiencing difficulties in getting the email to come through.

Link to comment
Share on other sites

  • 5 weeks later...

If you want to get rid of records that have not been activated, then just use a DELETE query, like this:

 

DELETE FROM the_table WHERE activated IS NULL

 

You could of course customize that as needed, but whatever this prune feature is, you don't need it.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.