Hi,

Is there any way to import data from MS Access in MYSql, so that I can add new members in groups in IPB-- this is solely a discussion forum for a digital media network targeted for college and high school students in the area. This is kind of a challenging project because it covers a big scope but not sure how to approach it. I want to include only 2 letters of first name and last name of students that is used for usernames, but they have the same password. In addition, when they log in on to their accounts-- they have the ability to change it later on. Any advice and help is very much appreciated.:)

Dani AI

Generated

A practical, low-risk workflow to get this done

Start by backing up the forum and doing the whole import on a development copy. Prefer the board's built-in importer or its registration routines (those update salts, password hashes, caches and any hooks/plugins) instead of raw SQL INSERTs into the members table — the AdminCP import can map fields for you. (invisioncommunity.com)

Prepare usernames and check collisions

Create a username column in your source data that follows your rule (first two letters of given name + last name) and then detect duplicates before any import. Example SQL to build and check a batch table:

UPDATE import_temp
SET username = LOWER(CONCAT(LEFT(first_name,2), last_name));

SELECT username, COUNT(*) AS cnt
FROM import_temp
GROUP BY username
HAVING cnt > 1;

If duplicates appear, append a numeric suffix in a short script (1, 2, 3...) before importing.

Passwords and first-login changes

Avoid inserting plaintext or guessing the forum's hash routine. Let the importer or the board API create passwords so the system stores the correct hash and salt fields (many IPS/IPB versions use fields like members_pass_hash and members_pass_salt). After import, force a password reset or send reset emails so students set their own password on first login — modern AdminCPs include bulk/password-reset tools. (invisioncommunity.com)

Assigning groups and special cases

During import map the group column (member_group_id) to place students into the correct permission group. Note that some community features (for example “Clubs” or similar extension tables) are not always supported by the generic importer and may require a small post-import script or a direct update to the related join table. Test that on a few records first. (invisioncommunity.com)

Checklist before you go live: backup, import 10–20 test users, confirm login + forced password change, verify group membership and notification behavior, then import the full dataset.

I would start by downloading phpMyAdmin, if you're not already using it. It's a great php-based web application that lets you interact with a MySQL database. It may be possible to import a database from a text file using phpMyAdmin ... I'm not entirely sure. Since it's definitely possible to save an MS Access file as a comma-delimited text file, you might want to do a google search for [search]mysql imported from comma-delimited text file[/search]

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.