Jump to content

MySQL Connect thru Ubuntu Terminal?


Twango

Recommended Posts

Hey, I need this program in the Ubuntu terminal to connect to MySQL.When I use $this->writeOutput("Connecting too MySQL database...", "INFO"); $this->mysql->connect("-----", "-----", "----"); $this->writeOutput("PAUSE"); $this->writeOutput("PAUSE"); $this->writeOutput("PAUSE"); It doesn't work, it echos "Connecting too MySQL database..." and then nothing else, it just goes back to wanting me to enter a command.Any ideas?Using XAMPP (LAMPP)

Link to comment
Share on other sites

I mean that if you don't see error messages after adding the code I showed, then the mysql object that the code is using may need to be modified to do error checking if it isn't doing that already. I didn't write that code either, so I can't tell you anything about the mysql object you're using.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...