've read that I can override an autoincrement field in mySQL by setting that value in the insert statement or hopefully phpmyadmin's table import functionality. Do we know if this works? My problem is that I'm looking to populate 1000 users and I'd like to stick a profile field into the profile_data table but that needs the user_id. If I know the user_id before I begin I can use that to insert data into any tables that need to be initialized with the user.
So I'm thinking get it into excel. Locate the high user_id, use that to autoincrement the user_ids in the Excel table, export to CSV, import to phpBB. Has anyone done this?
So I'm thinking get it into excel. Locate the high user_id, use that to autoincrement the user_ids in the Excel table, export to CSV, import to phpBB. Has anyone done this?
Statistics: Posted by dgkulick — Tue Feb 06, 2024 9:59 pm