Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Any beginning projects I can get in on?
#31
wow! oracle thats great news. RDBMS is very important =).
Reply
#32
Well, it's really silly really, it's like a loophole...

Has someone else got mysql installed in windows?

Anyway, here's a clue: You make a file...
Reply
#33
Aw, c'mon, just post the code or whatever...
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Reply
#34
I'm in linux, but here's some psuedo code:

Code:
LINE INPUT 'sql? ', sql$
OPEN MYSQL_PATH$ + "mysql.txt" FOR OUTPUT AS #1
PRINT #1, sql$
CLOSE #1
SHELL MYSQL_PATH$ + "mysql -f mysql.txt"

:king:

(the code I wrote actually created a php file that was then executed by php.exe, but I realised that this was probably faster as I wrote it. I'm not sure on the windows flag to load an external file in for dumping, so I just put -f as for php.exe. This code doesn't do any connecting/authentication either, which my php code did).

But you see how it works now Smile. I told you it was kinda lame and a loophole, but it does work...
Reply
#35
Aw, c'mon...that's just shelling and taking advantage of the import/export from/to files of queries... Tongue
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Reply
#36
He did say it was a 'loop hole'
Reply
#37
The Tongue smiley does mean Joke.
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Reply
#38
This Tongue smiley sucks! I love this one [Image: icon_razz.gif]
Reply
#39
OK, that's enough about the smilies Wink

My method works though, that's all that matters. Pr'raps I'll make a lib out of it?
Reply
#40
That'd be a worthy project IMHO.
(if you do, upload it to The Geekery...[/shameless plug])
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)