beeseven
Mar 10 2005, 12:50 AM
| | I'm making a user system and I had to delete some because the registration was messed up. Now if I try to make another user it'll be at 4 or 5 even though there aren't any more users still in the database. How do I make it so that the next user will be 1? |
Reply
eiteljoh
Mar 10 2005, 12:25 PM
hey. i see your point, but is it really necessary to reset it? just wanna ask that question first ... if it's important number, maybe you should think about having another field to keep the "number" and keep the autoincrement for uniqueness. anyways to answer your question - i've delt with this before - only thing i could think of quickly was to drop the table and recreate it. that'll definately reset it  )
Reply
beeseven
Mar 11 2005, 10:37 PM
I found it on mysql.com, it's CODE ALTER TABLE [tablename] AUTO_INCREMENT = [number] Just in case anyone wanted to know. By the way, [number] is the number that the next row will take.
Reply
Recent Queries:--
mysql resetting the autonumber field - 0.10 hr back. (1)
-
mysql and reset autoincrement - 5.17 hr back. (1)
-
reset autoincrement mysql - 5.38 hr back. (1)
-
auto_increment mysql reset - 11.16 hr back. (1)
-
phpmyadmin reset autoincrement - 24.33 hr back. (1)
-
auto_increment field settings - 73.12 hr back. (1)
-
mysql reset automatic number - 102.28 hr back. (1)
-
reset autoincrement field mysql - 117.26 hr back. (1)
-
msyql reset autoincrement - 120.72 hr back. (1)
-
reset autoincrement field on access - 124.05 hr back. (1)
-
syncing an auto_number field in mysql - 141.69 hr back. (1)
-
myphpadmin reset auto increment field - 144.30 hr back. (1)
-
mysql reset autoincrement - 2.66 hr back. (11)
-
mysql reset index autoincrement - 155.50 hr back. (1)
Similar Topics
Keywords : reset, auto, increment, field, mysql
- I Can't Find The Password Reset Page... [resolved]
(5)
Mysql Database Not Working
(3) well i'm getting an error message(a databass connection warning) for all of the parts of my site
that connects to a mysql database i check my database users pertmissions and i try to do the repair
database thing and it's still not woeking. am i the only person having this or is it an overall
trap17 issue and how do i fix it.....
I Think I Need A Cpan Password Reset
(0) Hi guys, been a while since ive been around, luckily i build up a nice amount of credits so im still
actively hosted. But Ive forgotten my cpanel password, im pretty sure i still know my username but i
need to get my password reset. I couldnt find the automatic way to do this so i thought id throw up
a post and hope someone can give me a linky or do it for me. Im assuming itll still cost me 10
credits which is fine. So if anyone is able to start the process off go for it, i can afford the 10
credits to do it /smile.gif" style="vertical-align:middle" emoid=":)" border="....
It Went Well For A While
MySQL problem back in all its glory. (5) Some time ago I had a stubborn problem when trying to access one of the interactive pages on my
website and getting the following error: QUOTE Warning: fopen() : open_basedir restriction in
effect. File(include/errors.xml) is not within the allowed path(s):
(/home/mrdee:/usr/lib/php:/usr/local/lib/php:/tmp) in
/home/mrdee/public_html/admin/include/commonfunctions.php on line 682 Warning:
fopen(include/errors.xml) : failed to open stream: Operation not permitted in
/home/mrdee/public_html/admin/include/commonfunctions.php on line 682 Cannot open XML data file:
incl....
How Do I Find My Mysql Password? [resolved]
Cannot access my MySQL (5) After all the recent problems, my account has been restored. I have setup my parked domain agin, and
that works fine. However, I can no longer access my MySQL databases (I can from PHPMyAdmin, but
that's all). I had to create a new user for my databases, and created the user with exactly the
same username and password I had before, but some of my web pages do not let me access the pages I
have associated with my databases. Where could i find out what my DB password is? (Although I am as
good as sure I am using the right one). I have tried my old password, the new c....
Remote Access Mysql
(8) Is it possible to directly access my local database from my website? For example, if somebody
submits info on my website, the info they submitted would be transferred to my local database
directly. Is that possible? And if so, how do I set that up? The reason I don't want to upload
my database to my subdomain is because it would be difficult to keep the website database and my
local database in sync . . . or is there a way to do that? Thanks for any replies.....
Reset My Site Pelase
read for more info (6) Can you just reset my cpanel / website FTP and all to how it was when I got it new please? Don't
change any passwords, just make it so it's like brand new again. thanks --why? because I have
some files in public_HTML that I am trying to delete even after I give it 777 it says permission
denied so please reset /smile.gif" style="vertical-align:middle" emoid=":)" border="0"
alt="smile.gif" />....
Question About The Upgrade And The Mysql Usage ?
question about the upgrade and the mysql usage? (3) thanks for the upgrade but i do have question about it QUOTE Domain name zam.trap17.com
Hosting package Beta Subdomains 3 / 99 Parked Domains 0 / 9 Addon Domains 3 / 9 Mysql databases
1 / 99 PostgreSQL Databases 0 / 99 Disk usage 14.25 / 500.00 MB MySQL Disk usage 0.82 MB
Disk space available 485.75 MB Bandwidth (this month) 6.59 / 10240 MB Email accounts: 1 / 99
Email forwarders: 1 / unlimited Autoresponders: 0 / unlimited Email filters 0 / unlimited
Mailing lists: 0 / 99 FTP accounts 3 / 99 1-Bandwidth (this month) 6.59 / 10240 MB ....
Can You Reset My Credits To 0
(9) Hello, dear administration Merry Christmas I was busy these past days to post on forums, and i have
-8 credits now. Can you reset them to zero please. Have lovely holidays....
Question About Adding Message Board To Site
Using mysql? (5) Hi, Super simple question from a simple laddie! Is a MySql database a messageboard? If not
how can I set up a messageboard. Thanks. std split from another topic ....
Phpbb2.17 Mysql Problems
Just this week they started (4) The forum has been up and running for about a year and a half. It has been through numerous server
upgrades, etc, including the recent HDD change, but for some reason, just this week it started
throwing this error: QUOTE Could not obtain post/user information. DEBUG MODE
SQL Error : 145 Table './jlhaslip_phpbb2/phpbb_posts_text' is marked as crashed and should
be repaired SELECT u.username, u.user_id, u.user_posts, u.user_from, u.user_website, u.user_email,
u.user_icq, u.user_aim, u.user_yim, u.user_regdate, u.user_msnm, u.user_viewemail,....
99 Mysql Databases?
(2) I just got my account, and I was wondering: do we really get 99 MySql databases? I've read a
lot of the stuff about it, and it sounded like we only get one database, but my cPanel says that I
have "0 / 99" databases. If it's lying, it's not really a problem, because I could always
just prefix my tables, but I was just wondering why it would say that. If for some reason it was
letting me get more than one database, and I wasn't supposed to, I don't want to get my
account deleted. Does anyone know why it says that? /huh.gif" style="vertical-align:m....
Mysql Access Error[resolved]
(5) The MySQL server is Down, please look into this soon. I'm with Trap17 for nearly an year but
never faced any issues witht the free hosting so far, but his is the first time I'm facing this.
Please kindly look into this.....
Mysql Server Problems [resolved]
(3) hello, well since i installed php-nuke on my site's dir i have seen quite a lot of mysql SERVER
ERRORS, like that the server is going down so now and often is it due to my cms or is the server
having some probs ? this is what i just saw from the statistics: QUOTE Service Status
named up spamd up imap up cpsrvd up pop up eximstats failed syslogd up clamd failed mysql
(5.0.27-standard) failed httpd (1.3.37 (Unix)) up exim () failed exim-26 up ftpd failed Server
Load 16.50 (1 cpu) quote tags added. please use quote tags as needed. review trap17....
Cpanel And Mysql Problem. [resolved]
(3) hi all - i'm going to make this brief. my CMS (drupal 5.0) and forum (SMF 1.1.1) cannot connect
to the mysql db. however their files CAN still be accessed. I also tried uploading a file through an
ftp client and the file could be accessed. HOWEVER: cpanel cannot be accessed either. it simply
loads with a blank page. however both worked earlier today. so is there a problem with the server?
and if there is, will it be fixed?....
Sites Disapeard, Mysql Errors? Also Server Folders Deleted
(18) Hello its 15:40 and I login see if everything runs oke, and I see numerus things deleted my mysql is
working again. Whats going on? My Webpage couple websites got deleted, and server folder files now
whats going on? /sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> my
forum also give errors but mysql db stil there /sad.gif" style="vertical-align:middle" emoid=":("
border="0" alt="sad.gif" />.......
The Difference Between Mysql And Postgresql ?
(4) I found those two in cPanel and they loofed nearly the same as each other but what is the difference
? I tried to go to phpMyAdmin and phpPgAdmin and they are nearly the same too. Do you know that ?
Please reply , thanks a lot.....
Mysql Backup Cronjob
How to? : / (6) Well, I want basically a cron job that will run and backup my MySQL database. I've been told
in the shoutbox that you can do it via cron job. Didn't told me how. Now, I just want help on
how to do it and what commands I should put in the cPanel. ....
How Do You Check Mysql Info, And Act According To It's Content?
(6) As part of a web-game on my site, I have a php form that requires people to enter their username,
and information about the characters they want to have in the game. All this information is stored
into a MySQL table. I want the players to be able to visit a page where every character they have
registered with their username can be seen. My question is simply, how can I check the values of
the MySQL data, and act accordingly? What I need to do is check for a Username and a character
number, and if it finds it, takes the data in that part and acts on it, eg. by showing th....
I Can Not Create Mysql Databases In Control Panel Using Phpmyadmin
Phpmyadmin says i don't have permissions to create databases (3) I went to phpmyadmin script a few minutes ago and i could not create a database. Since it says
there on my control panel that i have unlimited mysql databases, plus i am using only a couple of
databases, please respond and fix this, please.....
Is It Possible To Access The Mysql Remotely?
(10) I like to experiment with a lot of things and I was thinking of making a sort of instant messenger
in Python, but I want to let people have actual accounts so I need to be able to access the mySQL
remotely. If that's not possible, are we allowed to run Python scripts on the server?....
Does Trap17 keep back-ups of my MySQL Databases?
(6) ok, well i screwed up yes i admit it i screwed up big time... anywho, umm i was wondering is
trap17 kept back-ups of the MySQL Databases??? and if they do would it be possible for me to get a
copy of the backup for my forums sent to me somehow? because stupid me, i was re-installing my
forums, and went to make a backup of my MySQL database jsut in case, and selected all and hit make
backup, and well it only made a backup of only one of the databses, so right now i am without the
many posts i had ten minutes ago so if you so keep backups thats awsome!! youv....
How To Crate Mysql Database?
urgent help (7) Hi everyone!
I'm trying to make in my site a page system that allows me to create users
account (with a foto for every user)...
I'm doing that in PHP, I learned all I have to
know about PHP and MY SQL. I know how to make new array and querries in the data base, only 1 think
is messing: ....
Mysql?
(15) My board has a mySQL error on it and when i went to cpanel it says for mySQL databases /99 instead
of 1/99 or 0/99. I tried making new one but it didn't appear after i created it /unsure.gif"
style="vertical-align:middle" emoid=":unsure:" border="0" alt="unsure.gif" />....
Mysql Version4.0.27
mysql version is old (2) I have came to my control cpanel,And I saw the mysql version,It is old,and with this version we
don't have to install into computer before use it,that is the way make it to hard to use to me
when I try to use it on my computer.So I want to ask you,Admin.Do you plan to upgrade mysql to
higher version like mysql 5.1.?If yes,please do it as soon as posible.Because right now i'm
using mysql 5.1 and I don't know how to use mysql 4.0.27. Otherwise,can I upload my exist
database to my account. I don't know how to create it in my account.It is so hard for me be....
Mysql Troubles
(0) Hey i am having troubles connecting to my mySQL database... Not exactly sure what to enter for the
server/host and database name, etc. Please shed some light on this subject for me /smile.gif"
style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> Sorry i should have looked
around for an answer to this before i asked the question. I found an answer on another post If
anyone else reads this post looking for an answer to the same question try using "localhost" as the
server/host name /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt=....
Mysql Database Problem
appears to be deleted, but still has data (6) Hello. My Mysql databases appear to have been removed off of my account, yet according to my
cpanel, space is still being used on databases. Hopefully I haven't lost any of my data,
because I haven't taken a backup after recent updates, but If I have, I'll have to make do
with previous backup. Any idea what's wrong? Here's a quote from my cpanel QUOTE
Mysql databases 0 / 99 PostgreSQL Databases 0 / 99 Disk usage 13.16 / 150.00 MB SQL
Disk usage 2.99 MB As you can see, my database data still appears to be on the system, b....
Installing Apache, Mysql, Phpmyadmin Locally
Solving the "php_mbstring.dll missing" (5) Since Trap17's CP provide the individual site's owner with goodies like MySql and
PhpMyAdmin, chances are some will want to make use of them. Well, it's fine enough to get that
on one's host (Gee! Thanks a lot, Trap17...) Knowing how the usual geek react, it might be
expected that most people considering to make use of a database on their site will want to do most
of the tedious job of developing and testing on their own local system before sending the wrapped-up
result on their domain/subdomain. This involves four basic steps (sorry for the compuwi....
Auto Webpage Resolution Format
Viewing Problem Help Needed Please (7) Hi, my website was created with Frontpage 2003. At screen resolution 1024 * 768. Now the problem
that I am finding is people with a screen resol. 800 * 600 see the table and everything in the wrong
place and its all messed up. Is there a way to make it so the site is compatiable with all screen
resolutions. Thanx in advance for your help. Edited topic title. ....
Mysql Database Setup : Setting Up Mysql Database
Guide to use MySQL database in your site (6) A SMALL INTRODUCTION TO DATABASE ============================= I have seen that many members have
problems with Database. Here is a small INFO which should give you the IDEA. mySQL is a DATABASE
server. You can access it using the link in Cpanel. Cpanel can be accessed by
"www.YOUR-SITE.com/Cpanel" There you have 4 Main Options :- 1> CREATE A DATABASE 2> CREATE A USER
3> ADD USER TO DATABASE 4> PHPMYADMIN CREATE : IT ALLOWS YOU TO CREATE A DATABASE CREATE USER
: IT ALLOWS YOU TO CREATE A USER. USING THIS, YOU CAN ACCESS THE DATABASE. A DATABASE CANNOT BE....
Looking for reset, auto, increment, field, mysql
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for reset, auto, increment, field, mysql
*MORE FROM TRAP17.COM*
|
advertisement
|
|