473,382 Members | 1,389 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Excel 2 CSV into phpMyAdmin

is there a trick to saving Excel spreadsheets into a CSV format that will
import into phpMyAdmin without errors??

my CSV files have all kinds of errors, including loading the wrong fields.

I use Excel [office 2k version] on Win2k

phpMyAdmin 2.5.3-rc3 with MySQL 3.23.56
--
Regards,

Carmoda
iamcarmoda[remove-spam]@hotmail.com
====================================




Jul 19 '05 #1
4 11927

"carmoda" <ia********@hotmail.com> wrote in message
news:3f**********************@news.optusnet.com.au ...
is there a trick to saving Excel spreadsheets into a CSV format that will
import into phpMyAdmin without errors??

my CSV files have all kinds of errors, including loading the wrong fields.

I use Excel [office 2k version] on Win2k

phpMyAdmin 2.5.3-rc3 with MySQL 3.23.56

Why not save the xls as tab delimited text (.txt) and use the mysql query:
'load data infile "file.txt" into table whatever_table;'?

Thomas.
Jul 19 '05 #2

"carmoda" <ia********@hotmail.com> wrote in message
news:3f**********************@news.optusnet.com.au ...
is there a trick to saving Excel spreadsheets into a CSV format that will
import into phpMyAdmin without errors??

my CSV files have all kinds of errors, including loading the wrong fields.

I use Excel [office 2k version] on Win2k

phpMyAdmin 2.5.3-rc3 with MySQL 3.23.56

Why not save the xls as tab delimited text (.txt) and use the mysql query:
'load data infile "file.txt" into table whatever_table;'?

Thomas.
Jul 19 '05 #3
"carmoda" <ia********@hotmail.com> wrote in message
news:3f**********************@news.optusnet.com.au ...

is there a trick to saving Excel spreadsheets into a CSV format
that will import into phpMyAdmin without errors??


I'd say yes. If you have dates in your spreadsheet, you need
to format them as 'yyyy-mm-dd' before saving the spreadsheet
as CSV.

Cheers,
NC
Jul 19 '05 #4
"carmoda" <ia********@hotmail.com> wrote in message
news:3f**********************@news.optusnet.com.au ...

is there a trick to saving Excel spreadsheets into a CSV format
that will import into phpMyAdmin without errors??


I'd say yes. If you have dates in your spreadsheet, you need
to format them as 'yyyy-mm-dd' before saving the spreadsheet
as CSV.

Cheers,
NC
Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: SCS | last post by:
Running PHP 4.5.7 PHPMyAdmin 2.5.7-pl1 IIS 6 I am thrying to get phpmyadmin to work, but whenever I click a link or try to browse a database I get a 404 error, because the PmaAbsoluteUri...
0
by: carmoda | last post by:
is there a trick to saving Excel spreadsheets into a CSV format that will import into phpMyAdmin without errors?? my CSV files have all kinds of errors, including loading the wrong fields. I...
2
by: jesper | last post by:
Hi I am currently doing a survey about real-time kernels and the data that I will gather will be put into an Excel sheet. Is it possible to extract the data from the Excel sheet to an database...
3
by: mojo jojo | last post by:
This may really be a phpMyAdmin problem, I think - but keen to hear your thoughts. Any help appreciated. Using phpMyAdmin to export an entire database works fine - I get a mydatabase.sql file. ...
0
by: Gnarlodious | last post by:
This is some odd behavior, I'm hoping someone can explain. I have a TiBook running 4.0.17 and phpMyAdmin 2.5.5-pl1 where MySQL hostname is configured as "Gnarlodious-TiBook" (machinename). So...
0
by: NewbieSupreme | last post by:
I'm using PHPMyAdmin on an Apache2Triad install (latest version; 5.x.x, which installs PHP5 and PHPMyAdmin 2.8 as well). In Access, I exported a table to a text file, tab-delimited, text qualifyer...
5
by: Marcus | last post by:
Hello, I am having a problem with a query in phpMyAdmin... it works fine on my localhost, but the exact same query produces an error in phpMyAdmin on my server: localhost: PHP 4.3.11, MySQL...
2
by: Victor | last post by:
Could anybody kindly point me to a clue in the following enigma : I have phpMyAdmin - 2.8.2.4 and MySQL - 4.1.13-nt. In the phpMyAdmin opened in any browser I am able to enter and store Russian...
8
by: Jonathan Sachs | last post by:
I just tried to install phpMyAdmin on my system, and I can't get it to work. When I tried to run the setup procedure (setup.php) I got the following message: Fatal error: session_start() :...
2
by: seanh | last post by:
Hi all, I need some advice regarding phpmyadmin, I installed phpmyadmin directory in the htdocs but when I go to my http://mysite.com/phpmyadmin I get a 500 internal error. I checked the files...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.