PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, October 11, 2022

[FIXED] Why are PHPMyAdmin actions displaying on some tables, and not others?

 October 11, 2022     phpmyadmin     No comments   

Issue

I have two databases. "members" and "verified_emails"

image_of_databases

Now, in members I have the regular actions menu:

actions_menu

However, in the verified_emails database, it is a different story:

no_actions_menu

There is no actions menu when PHPMyAdmin views the verified_emails database.

After digging around on StackOverflow, I heard it would help to add this to my config.

$cfg['ActionLinksMode'] = 'both';

It didn't make any difference.

I am running PHPMyAdmin v4.1.14

Now that the info is laid out, here is my question.

My question is, why is this happening? Is there a fix for this, and if there is, how do I fix this?


Solution

The problem is caused by there not being an index column.

This is why I'll never be a database manager.

If a database is like my verified_emails database, I could have an id column that automatically increases its value.

Here is how I fixed this problem.

This is easier with MySQL, but i'll just do it with PHPMyAdmin in case someone looks for this in the future.

First, I went to columns.

columns

Next, I went to add a new column at the beginning of the table.

new_column_1

I made it an integer, and called it id. (Note, in this I forgot to check AI, MAKE SURE YOU CHECK AI)

new_column_2

I set it to the index by clicking the index button.

tab

Also set it to Unique and Primary!

Now, let's go back to browse!

browse

It's done!
Now there is an automatically increasing id, and the tools!



Answered By - jinglebug
Answer Checked By - Gilberto Lyons (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing