Creating a CSV file

  • warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'mysql5-39' (1) in /home/igrenier/www/firestats/lib/ezsql/mysql/ez_sql_mysql.php on line 92.
  • user notice: Database not connected in /home/igrenier/www/firestats/php/db-common.php on line 246.
  • warning: mysql_real_escape_string() expects parameter 2 to be resource, boolean given in /home/igrenier/www/firestats/lib/ezsql/mysql/ez_sql_mysql.php on line 212.
  • warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'mysql5-39' (1) in /home/igrenier/www/firestats/lib/ezsql/mysql/ez_sql_mysql.php on line 92.
February 8, 2009 - 18:52 — Anonymous

Hi Lionel

I'm having trouble getting the CSV import to work well - the script has gone straight to itunes 3 times so far.

I've tried:

perl lastFM2Itunes.pl [username] -v -csv playcount1.csv
perl lastFM2Itunes.pl [username] v csv playcount1.csv
perl lastFM2Itunes.pl [username] -v -csv C:\playcount1.csv

and none of them worked. What is the correct usage?

Thanks!


My arguments mode is not very

My arguments mode is not very friendly but if you want to export to csv use
perl lastFM2Itunes.pl [username] -csv playcount1.csv

Verbose is then automaticaly on.

regards

lg

About the Author

Donate

If you've liked this free application, you can donate via Paypal, or you can get me (lebios) a Last.fm subscription.









Counter

  • Site Counter: 26128
  • Unique Visitor: 8918
  • Published Nodes: 53
  • Since: 2008-10-01

Countries

free counters

User login

FireStats error : Error connecting to database