Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 11-12-2010, 05:47 AM
WarDave522
Fire Beetle
 
Join Date: Aug 2010
Posts: 5
Default

Ok so I tried to find something that would let me source in all sql files in one folder and someone pointed me to this

http://stackoverflow.com/questions/2...in-mysql-batch

But on my windows machine it doesnt work for some reason

I tried

for %S in (*.sql) do mysql -u user_name database_name < %S

and

mysql -u user_name -p password database_name < file.sql

with the correct info in the username, and db and all of that


What I'm trying to do is have mysql souce in all the sql files with one command so I don't have to do it 139 times from the svn folder. Also yes I changed over to the correct folder in a dos box before trying this and did,

mysql -u root -p
(did password)
use peq;

then tried those lines
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 02:32 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3