Presentation is loading. Please wait.

Presentation is loading. Please wait.

MySQL and MyPHPAdmin.

Similar presentations


Presentation on theme: "MySQL and MyPHPAdmin."— Presentation transcript:

1 MySQL and MyPHPAdmin

2 Go to http://gamma. lasalle
Go to and log in, usual La Salle username and La Salle ID as password

3 PMA: phpMyAdmin interface to MySQL

4 Create a database

5 Create a table in your database – enter the name of the table, the number of fields and click Go

6 Enter the table fields and their types, on the left is the NorthWind database Product table shown in Microsoft Access. Click Save on lower right.

7 Result so far. Note it shows the SQL code.

8 Forgot to make a primary key
Forgot to make a primary key? Just click on the Primary key button next in the desired field row

9 Choose to edit the UnitPrice field by clicking on the pencil icon

10 Change the Length/Values entry. Then click Save.

11 In Access have the NorthWind Product table selected (but not open), go to External Data/Export/Text File

12 Choose a name and location for the exported data, I chose the
Choose a name and location for the exported data, I chose the .csv (comma separated values) extension. Click OK.

13 Choose Delimited. Click Next.

14 Choose a delimiter (comma) and a qualifier (quotes). Click Next.

15 Result viewed in Excel. (Close)

16 Back in PMA, select Product table and click Import

17 Browse for CSV file. Fill in CSV options: terminated (comma), enclosed (quote), escape (backslash), lines terminate (backslash n)

18 Success import message.

19 Click Browse to see the imported data


Download ppt "MySQL and MyPHPAdmin."

Similar presentations


Ads by Google