Re: How to run a sql script sql script on mysql5

2012-04-05 Thread Michael Parson
On Wed, 4 Apr 2012, Michael Parchet wrote: Hello, I have install the mysql5 port. I do a secure installation whith only the root user and a password. So noe I wold like to run a sql script to create a database. I have tried the following command but this last has no effect sudo mysql5 -u

Re: How to run a sql script sql script on mysql5

2012-04-05 Thread Bradley Giesbrecht
On Apr 5, 2012, at 9:21 AM, Michael Parson wrote: On Wed, 4 Apr 2012, Michael Parchet wrote: I have install the mysql5 port. I do a secure installation whith only the root user and a password. So noe I wold like to run a sql script to create a database. I have tried the following command

How to run a sql script sql script on mysql5

2012-04-04 Thread Michael Parchet
Hello, I have install the mysql5 port. I do a secure installation whith only the root user and a password. So noe I wold like to run a sql script to create a database. I have tried the following command but this last has no effect sudo mysql5 -u root -p password script.sql Can you help me

Re: How to run a sql script sql script on mysql5

2012-04-04 Thread Bradley Giesbrecht
On Apr 4, 2012, at 12:14 PM, Michael Parchet wrote: Hello, I have install the mysql5 port. I do a secure installation whith only the root user and a password. So noe I wold like to run a sql script to create a database. I have tried the following command but this last has no effect

Re: How to run a sql script sql script on mysql5

2012-04-04 Thread Lawrence Velázquez
On Apr 4, 2012, at 3:14 p.m., Michael Parchet wrote: I have install the mysql5 port. I do a secure installation whith only the root user and a password. So noe I wold like to run a sql script to create a database. Are you making a local database? Have you installed mysql5-server? vq

Re: How to run a sql script sql script on mysql5

2012-04-04 Thread Michael Parchet
Le 04.04.12 21:37, Lawrence Velázquez a écrit : On Apr 4, 2012, at 3:14 p.m., Michael Parchet wrote: I have install the mysql5 port. I do a secure installation whith only the root user and a password. So noe I wold like to run a sql script to create a database. Are you making a local