Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9161933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T14:05:27+00:00 2026-06-17T14:05:27+00:00

How do I create an index with PHPmyadmin? I have a database with 5,000

  • 0

How do I create an index with PHPmyadmin?

I have a database with 5,000 rows of

ID | IP | DATE

Before added data to this table I made id as Primary Key,

The website use this query:

mysql_query("SELECT * FROM users WHERE ip = '$ip'");

I read today that indexes can speed up and performance,
and in my case how do i need to add index to IP column,

I am to phpmyadmin and to actions I see “Add unique index” and “Add index” options,
Im new in this, appreciate your help, thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T14:05:28+00:00Added an answer on June 17, 2026 at 2:05 pm

    Click on the icon that says “index” in the row for ip. (It’s the one with the lightening bolt). Don’t choose primary key or unique. Just index.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If I have a table column with data and create an index on this
I have created an index on my table like this: CREATE INDEX index_typ_poplatky ON
(Using Oracle) I have a table with key/value pairs like this: create table MESSAGE_INDEX
Suppose I have an index on a table in SQLite3: CREATE TABLE Person (id
I've added an index to my table with the command: CREATE INDEX patient_index ON
I have a table t1 and two indexes: create index if not exists timeindex
I'm using this SQL query to create an index: $query = CREATE INDEX id_index2
Can someone help me create an index/count button for a UITableView, like this one?
I'm trying to load a table, create an index, collect statistics, grant select permissions
Can I create index on a column in the create table command in sqlite?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.