+ Reply to Thread
Results 1 to 5 of 5

Thread: Grrrr...

  1. #1
    sax0n's Avatar
    sax0n is offline x10Hosting Member sax0n is an unknown quantity at this point
    Join Date
    Sep 2008
    Posts
    11

    Grrrr...

    Hi, I ussaully try to avoid getting help form people but I can't figure out what i'm doing wrong!

    I'm currently messing round with python but want to get some MySql involved. I'm trying to get a script that connects to a database and creates a new table but I just can't get it to work! Yes i have set permissions to 755.

    Can anyone help by posting a script that would work?

  2. #2
    freecrm's Avatar
    freecrm is offline x10 Elder freecrm is an unknown quantity at this point
    Join Date
    May 2008
    Location
    UK
    Posts
    629

    Re: Grrrr...

    Quote Originally Posted by sax0n View Post
    Hi, I ussaully try to avoid getting help form people but I can't figure out what i'm doing wrong!

    I'm currently messing round with python but want to get some MySql involved. I'm trying to get a script that connects to a database and creates a new table but I just can't get it to work! Yes i have set permissions to 755.

    Can anyone help by posting a script that would work?
    Have you tried using myphpadmin to create them or do you specifically want it created in script?

  3. #3
    sax0n's Avatar
    sax0n is offline x10Hosting Member sax0n is an unknown quantity at this point
    Join Date
    Sep 2008
    Posts
    11

    Re: Grrrr...

    Quote Originally Posted by freecrm View Post
    Have you tried using myphpadmin to create them or do you specifically want it created in script?
    That. Might. Work...

    :pat:

    Sorry. I can be a bit thick that way. Thanks!

  4. #4
    Jose Magsino is offline x10Hosting Member Jose Magsino is an unknown quantity at this point
    Join Date
    Jan 2008
    Posts
    53

    Re: Grrrr...

    there is no support here in x10hosting for python mysqldb api, it wont work.
    but if you are just running the code in your pc, you need to install the mysql db api, which is available here : http://sourceforge.net/projects/mysql-python/

  5. #5
    hardbyte is offline x10Hosting Member hardbyte is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    6

    Re: Grrrr...

    is there an option to get mysql from python somehow???

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers