I am building a website on a server that I do not have direct access to and it does not have a Server CP. I was told by my web programming professor that I would need to ssh into the server and then add the database via command line.
I have no clue what programs I need on my side, or what programs need to be on my server.
If you could give me step by step instructions on how to do it that would be great :)
How would I create a database through SSH?
Started by blkobswg, Apr 18 2009 07:52 AM
5 replies to this topic
#1
Posted 18 April 2009 - 07:52 AM
|
|
|
#2
Guest_Jordan_*
Posted 18 April 2009 - 08:01 AM
Guest_Jordan_*
Are you on linux? What database soft, mysql? If so, ssh in and execute mysql -u UserNameHere -p
it will ask for your password, enter it. Then you can use SQL to create your dbs.
Posted via CodeCall Mobile
it will ask for your password, enter it. Then you can use SQL to create your dbs.
Posted via CodeCall Mobile
#3
Posted 18 April 2009 - 08:14 AM
How do I SSH in?
I believe that it is mysql...
I believe that it is mysql...
#4
Posted 18 April 2009 - 09:52 AM
you need a ssh client like putty to connect to your server.
but all of this should your host be able to answer easiest.
but all of this should your host be able to answer easiest.
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall
#5
Posted 18 April 2009 - 11:14 AM
okay, I got that far. I tried to log in with my ftp info that I was given but I guess that that is not the info that I need... :/
I do not have direct contact with the server owner. I have to go through a friend to get to the server owner. So what do I need to ask him for?
I do not have direct contact with the server owner. I have to go through a friend to get to the server owner. So what do I need to ask him for?
#6
Posted 18 April 2009 - 12:19 PM
Easiest is to ask for a database set up directly and login info for it directly so they do it for you.
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall


Sign In
Create Account

Back to top









